I like the idea of ββinstalling Inno, I would probably try, but consider the following:
Microsoft MSI's best practice is to have two separate settings: one for 32 and one for 64, and many third-party IDEs like Installshield support these best practices. IMO, there is probably a reason for this, otherwise they would add this feature in order to have an advantage over competitors.
To create 2 installations from one installation project, you would have both installers built from the same installation project, using the release flags, you basically create one function containing your 32-bit assemblies, the other of which contains 64-bit , assign to release a flag for each of them and deploy each version separately,
So, during the build, you create a 32-bit version, it is packed, and the 64-bit version is ignored, then you do the same for the 64-bit one. You can pass these flags through command line arguments if necessary.
Thus, you do not have duplicate setup code to support.
GenEric35
source share