-
InnoSetup Installas
I need to deploy and MSI with InnoSetup but the problem I have it reeds the MSI runtime files and as we know there are two versions for Windows 9x and one for XP/2K does anyone know how to script this so it knows which OS it is so it can run the right runtime file?
Your help is really appriciated.
-
Re: InnoSetup Installas
Here is an example for DCOM for 95. You should be able to figure out how to do it for the othe OS's. Use Inno Setup's Help Documentation on the MinVersion parameters.
[Files]
Source: C:\Server Data\Randem\Develop\Support\dcom95.EXE; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0
[Run]
Filename: {tmp}\dcom95.EXE; Parameters: /r:n /q:u; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0