Announcement

Collapse
No announcement yet.

Vista doesn't like an NSIS installer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Throw vista away, considered as an idea?
    Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
    Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

    Comment


    • #3
      try adding RequestExecutionLevel to disable lagacy installer detection.
      IntOp $PostCount $PostCount + 1

      Comment


      • #4
        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.

        Comment


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

          Comment


          • #6
            Using RequestExecutionLevel worked.

            Stu

            Comment


            • #7
              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

              Comment


              • #8
                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?

                * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
                * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.

                Comment


                • #9
                  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.

                  Comment

                  Working...
                  X