[RESOLVED] Windows version options within INNO SCRIPT Setup
I’m using the Inno Setup installer successfully to create my VB6 installation files. My only problem is that I create two different versions for :
Windows 98 where the Desktop is at C:\WINDOWS\All Users, and:
Windows XP where the Desktop is at C:\Documents and Settings\All Users.
Is there a way with ‘MinVersion’ or something similar to take the correct option within the Inno script?
I’m just trying to put the application file on the desktop. The Inno script I’m using for XP is
///Inno Script
Source: "C:\Program Files\Swales Developments\Test Center\Mock Exams\Mock Comm\Mock Com.exe"; DestDir: "C:\Documents and Settings\All Users\Desktop\"; Flags: ignoreversion
///End Ino Script.
Re: Windows version options within INNO SCRIPT Setup
Inno Script will do that all for you, it has built in constants for special folders. In this case you need {commondesktop}:
Source: "C:\Program Files\Swales Developments\Test Center\Mock Exams\Mock Comm\Mock Com.exe"; DestDir: "{commondesktop}"; Flags: ignoreversion
If your ISS file is in the same location as the "Mock Com.exe" file then you can further reduce that line to:
Source: "Mock Com.exe"; DestDir: "{commondesktop}"; Flags: ignoreversion
Re: Windows version options within INNO SCRIPT Setup
Moved to application deployment
Re: Windows version options within INNO SCRIPT Setup