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!

Michi_91
Posts: 1
Joined: Wed Feb 20, 2013 2:46 pm

Install File for every user (by login)

Hello,

at the moment we are testing the Advanced Installer. We plan to abuse the tool to bundle a lot of programs and install them on block (via Prerequisites). So for example our "Package" contains beside the Prerequisites only one file which should be copied to the LocalAppDataFolder for each user by login (like Active Setup).
Means: Install Prerequisites once per machine and file for every new users by logoin.

I´ve found a lot of answers here which suggest to use a shortcut and the self-healing function. But we want to archive the goal without User Interaction (click to anything).....

Anybody can give me a hint? :(

Best regards
Michael
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install File for every user (by login)

Hello Michael and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can create a per-machine installation package and add the related user specific file in "Local Application Data" folder, from "Files and Folders" page. Then you should run a repair for your package (only if a file is missing) every time when a user log on.

Here are the step you can try:
- Go to "Files and Folders" page and add the user specific file in "Local Application Data" folder.
- Go to "Registry" page and under the HKEY_LOCAL_MACHINE\SOFTWARE key create the following keys Microsoft\Windows\CurrentVersion\Run.
- In the "Run" key create a new registry value like this:
  • Name: PackageRepair
    Date: msiexec /fp <ProductCode>
- Build and run the project.

You can get the ProductCode property value from "Product Details -> Product IDs" tab.

If you have any question let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”