Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3

Thread: if usage

  1. #1
    Join Date
    Nov 2003
    Posts
    17

    if usage

    Hi, don't know if this is possible with SUF but I am trying to find a way to do this
    at the Post Install stage:

    IF the operating system is Windows 95/98/Me
    Then FileRun... 9xversion.exe....
    Else, if operating system is NT/2000/XP
    Then FileRun NTversion.exe....

    If it is possible, sure would appreciate a sample code for it,

    thanks!

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Code:
    OS = System.GetOSName();
    if OS == "Windows 95" or OS == "Windows 98" or OS == "Windows ME" then
    File.Run("9x version");
    else
    File.Run("NT version");
    end
    Adam Kapilik

  3. #3
    Join Date
    Nov 2003
    Posts
    17

    Thumbs up

    wow! never thought it could be so easy
    works like a charm, thanks!!

Similar Threads

  1. Usage count expiration issues
    By tkilshaw in forum Setup Factory 7.0
    Replies: 2
    Last Post: 08-12-2006, 09:48 PM
  2. Need suggestions for reducing autorun memory usage
    By pcuser32 in forum AutoPlay Media Studio 5.0
    Replies: 9
    Last Post: 07-26-2005, 02:28 PM
  3. Usage expiration
    By donzilla2004 in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 10-27-2004, 08:17 AM
  4. Usage Count Expiry - How do I reset it?
    By freddy4242 in forum Setup Factory 7.0
    Replies: 10
    Last Post: 10-18-2004, 07:31 PM
  5. DLL Usage Count
    By jassing in forum Setup Factory 6.0
    Replies: 1
    Last Post: 05-12-2003, 04:12 PM

Posting Permissions

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