Archive: Vista doesn't like an NSIS installer


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

Throw vista away, considered as an idea?


try adding RequestExecutionLevel to disable lagacy installer detection.


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.

I just tried a simple nsis installer writing in registry and it did fine, maybe a little more explanation?


Using RequestExecutionLevel worked.

Stu


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

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?

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.