Afrow UK
9th August 2007 12:11 UTC
Vista doesn't like an NSIS installer
In Windows Vista:
First it puts up the Nag box that this is an "Unidentified Program" and you need to click "Allow" the install. Then, after the install, only sometimes, Vista will say that the program might not have installed correctly and should be reinstalled with the proper configuration settings. You need to say it did install correctly or click on the Reinstall with proper settings (nothing different) and let it do it again. Then Vista is happy.
The installer does not write any registry keys. It only extracts files.
Any ideas?
Stu
Red Wine
9th August 2007 12:37 UTC
Throw vista away, considered as an idea?
Anders
9th August 2007 13:20 UTC
try adding RequestExecutionLevel to disable lagacy installer detection.
helix400
10th August 2007 00:33 UTC
Re: Vista doesn't like an NSIS installer
First it puts up the Nag box that this is an "Unidentified Program" and you need to click "Allow" the install.
I'm pretty sure this part is an NTFS thing. If the file was copied from an unidentified source, it will pop up that message when a user tries to execute it.
For example, if you download an installer from the web using Internet Explorer to a local NTFS drive, a setting is put on that file that says it's an unidentified program. So when you double click on it, you get that dialog box.
DariTo
10th August 2007 19:18 UTC
I just tried a simple nsis installer writing in registry and it did fine, maybe a little more explanation?
Afrow UK
10th August 2007 19:20 UTC
Using RequestExecutionLevel worked.
Stu
vbguy
12th August 2007 22:12 UTC
Re: Re: Vista doesn't like an NSIS installer
Originally posted by helix400
I'm pretty sure this part is an NTFS thing. If the file was copied from an unidentified source, it will pop up that message when a user tries to execute it.
For example, if you download an installer from the web using Internet Explorer to a local NTFS drive, a setting is put on that file that says it's an unidentified program. So when you double click on it, you get that dialog box.
It's a UAC function in vista, and there was a similar warning for files downloaded with IE in XP SP2.
You can avoid the non-descript yellow box if you code sign your installer. So instead of a yellow warning that says "Unidentified Program", it will instead be a more subtle color and say "YourProgramName from YourCompanyName needs elevated privileges.
A code signing certificate cost anywhere from $90 to $400 depending on who you buy from.
See this article to learn more about code signing and some cheap places to get certificates: en.wikipedia.org/wiki/Code_signing
Joel
13th August 2007 01:19 UTC
Re: Re: Re: Vista doesn't like an NSIS installer
Originally posted by vbguy
It's a UAC function in vista, and there was a similar warning for files downloaded with IE in XP SP2.
You can avoid the non-descript yellow box if you code sign your installer. So instead of a yellow warning that says "Unidentified Program", it will instead be a more subtle color and say "YourProgramName from YourCompanyName needs elevated privileges.
A code signing certificate cost anywhere from $90 to $400 depending on who you buy from.
See this article to learn more about code signing and some cheap places to get certificates: en.wikipedia.org/wiki/Code_signing
Wouldn't be cheapier just to stick with XP or above?
vbguy
14th August 2007 00:31 UTC
Re: Re: Re: Re: Vista doesn't like an NSIS installer
Originally posted by Joel
Wouldn't be cheapier just to stick with XP or above?
Sure, but when XP goes the way of Windows 98 and all of your users switch to Vista and beyond, you're stuck with unprofessional looking software and installers.