pre-machine & all users - 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!

hhale21
Posts: 26
Joined: Thu Apr 01, 2010 10:21 pm

pre-machine & all users

I have Install Parameters/Installation Type: Per-machine only (fails if user is not administrator) in 2 projects.

One installs to C:\Documents and Settings\All Users\Application Data\[Manufacturer]
and the other C:\Documents and Settings\[install user]\Application Data\[Manufacturer]

I thought the install type would control this. I would like it to install to C:\Documents and Settings\All Users\Application Data\[Manufacturer]
for Per-machine only (fails if user is not administrator)

What controls whether it goes to all users or install user?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: pre-machine & all users

Hi,

The option you've mentioned only controls the credentials of the user installing the package.

To control the installation path you must set the default value of "Application Folder" edit box from the same page to this:

Code: Select all

[AppDataFolder]\[Manufacturer]
Also make sure that the installation files are placed in the "Application Folder" folder from the Files and Folders page.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hhale21
Posts: 26
Joined: Thu Apr 01, 2010 10:21 pm

Re: pre-machine & all users

I may not have explained myself completely.

I want all application data files under "all users" as I am installing servers as system services. There is no per user data.

After comparing the projects I discovered that the reason the one project was installing files into "all users" is that I put the files to be installed into "Common Application Data" under files & folders. The other project has using "Application Data" that results in files being installed into "install user"

Return to “Common Problems”