|
-
Mar 7th, 2006, 03:58 AM
#1
Thread Starter
Member
[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.
-
Mar 7th, 2006, 05:50 AM
#2
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
-
Mar 7th, 2006, 06:45 AM
#3
Re: Windows version options within INNO SCRIPT Setup
Moved to application deployment
-
Mar 7th, 2006, 06:53 AM
#4
Thread Starter
Member
Re: Windows version options within INNO SCRIPT Setup
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|