Won't install to ProgramFilesFolder in Vista - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

SiriusDG
Posts: 4
Joined: Wed May 21, 2008 5:44 pm

Won't install to ProgramFilesFolder in Vista

Hi -- I just upgraded to version 6.4. Now, the installer I am creating will not install to the ProgramFilesFolder under Vista. My setting is [ProgramFilesFolder][ProductName]

This works fine in XP, but when I run the same installer in Vista, it goes to C:\ProductName. Any ideas? Thanx.

David
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: Won't install to ProgramFilesFolder in Vista

Hello SiriusDG,

is your installer set to require admin rights? On Vista only with admin rights (elevated) are you allowed to write to special folders such as the Program Files folder.


With best regards

Clemens Anhuth
SiriusDG
Posts: 4
Joined: Wed May 21, 2008 5:44 pm

Re: Won't install to ProgramFilesFolder in Vista

Yes, the install type is Per Machine Only (fails if user is not administrator) and the application folder is set to [ProgramFilesFolder][ProductName]. Also, I am the admin and owner on the machine, and have turned off all of the Vista "You Can't Do That" junk. I don't think this is the problem...if it were, then based on what your application and help files say, the installer should simply tell me it cannnot continue, but that is not what is happening. The installer is attemping to install to a different default folder than specified, and is only doing this in Vista. It works fine in XP. Also, it was working fine until I downloaded the new version last night; however, I made modifications to the installer after downloading the build and before creating the new MSI, so I cannot say for certain that the new build was the cause. I did not change the application folder however, only the contents of the install folders and the location of some configuration files.

David
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: Won't install to ProgramFilesFolder in Vista

Hi SiriusDG,

I am just another AI user. Being an admin does not mean that the programs you execute have admin rights - on Vista. By default they don't.

As far as I know, if you want the installer to write into ProgramFiles the installer process must be executing with administrator/elevated privileges. You can achieve that by configuring the installer's execution level at Media/Bootstrapper/Security, Execution Level: "Require Administrator".


With best regards

Clemens Anhuth
SiriusDG
Posts: 4
Joined: Wed May 21, 2008 5:44 pm

Re: Won't install to ProgramFilesFolder in Vista

Clemens -- sorry for assuming you were official tech support. Do they monitor and respond on this board?

I had not set the options you suggest, as I was not creating an exe, only the msi file. Would rather not go the extra step if I can avoid it. On the other hand, if it fixes my problem, I will be all over it. I will try that and let you know. Thanx for the suggestion.

David
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: Won't install to ProgramFilesFolder in Vista

Hi David,

I could not reproduce this behaviour on my Vista test machine with UAC turned off.

Please send the AIP file to support at advancedinstaller dot com in order to investigate this issue.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”