Error Message on Compile

Started by npudar, July 25, 2008, 01:23:43 PM

Previous topic - Next topic

npudar

Thank you so much for your help.  I'll give it a go.
Nick

Randem

Well Nick, You selected that it should also not run on ANY version of NT either. That is why you get the message. Select one of the selections under Windows NT Version so that your installation will run.
 
Also deselect the service pack number.
 
What you want to select is Windows 95 and Windows NT. This will allow your installation to attempt to install on any version of windows. If you select a service pack (NT only), your installation will not attempt to install on the lowest version selected without that service pack.

npudar

Randem, thanks for your response.  I selected None for the minimum versions, and I removed the selection for the OS updater.  (I thought that I needed the updater to fix earlier installation issues on other people's computers.  I also thought that I would need it for the installation to work on Vista.)
 
I am using Inno Setup version 5.2.3.
 
This time, when I ran InnoSetup, I got the message that the software will not run on Windows NT.
 
My objective is to be able to have the software installable on any version of Windows.  I am attaching the pjt file.
 
Thanks.
Nick

Randem

You should have included your .pjt file. if you get that message during install it is because you have selected the Minimum Windows Version and/or Minimum NT Version and selected the service pack number. That is why you are getting that message. I have never seen it during compile and don't think it is possible.
 
This is the line causing it:
 
MinVersion=4.0,5.01sp8
 
Check your selections in InnoScript. You are explicitly telling Inno Setup not to install on a lesser version.
 
 
What version of Inno Setup are you using? I believe version 5.2.3 is the latest and InnoScript complies with it.
 
You don't seem to need the Auto OS Updater since I don't see any database usage. Why did you add it?

npudar

After a couple of solid years of no installation problems for my software, a couple of Vista users are now claiming failures in installation.  So I figured I needed to re-run InnoScript to address new OS developments.
 
I'm currently running XP Pro Service Pack 3.  I re-ran InnoScript, and added the full OS updater (which includes Vista) in the script.  (I had to edit the final script to fix the filename of the updater, since InnoScript did not have Vista as a choice in the drop-down box.) When I tried to compile the script in InnoSetup, I got the follwoong error message: This program requires Windows NT version 5.01 Service Pack 8 or later.
 
What should I be doing differently?  I'm attaching the generated InnoScript.  My only edits were to change the updater file name, and I removed the deleteafterinstall option from the second and third lines in the [Files] section.  (That was generating another error message during compilation.)
 
Thanks.
Nick