Results 1 to 4 of 4

Thread: [RESOLVED] Windows version options within INNO SCRIPT Setup

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    J'burg South Africa
    Posts
    34

    Resolved [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.

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    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

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Windows version options within INNO SCRIPT Setup

    Moved to application deployment

  4. #4

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    J'burg South Africa
    Posts
    34

    Re: Windows version options within INNO SCRIPT Setup

    Thanks!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width