Post Install, Per-User Actions - 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!

steven_hunter
Posts: 7
Joined: Tue May 16, 2006 2:17 pm
Location: West Lafayette, IN

Post Install, Per-User Actions

A lot of commercial programs run a install/config per-user (on first login) after the primary installation has completed.

For example, I install an app as the local Admin, log out and login as a different user. Before the desktop loads, a little window pops-up and says it is configuring "such and such", setting user registry keys or copying files to "%userprofile%\Application Data\" and the like.

How can I do this with Advanced Installer (Professional)?

Thanks!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This is not a specific feature of the Installer. I think you are referring to GPO:
http://msdn2.microsoft.com/en-us/library/aa374177.aspx

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
steven_hunter
Posts: 7
Joined: Tue May 16, 2006 2:17 pm
Location: West Lafayette, IN

No, I know what Group Policy is.

This is what I'm talking about:

Image

When you create a new Windows account, or login to an existing account after a new product has been installed, some sort of script runs that sets up per-user settings and such.

I know, for example, that Hummingbird Connectivity Suite does this (and it's an MSI). I know more programs do as well, but nothing is jumping to mind...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Windows Installer does not directly support this feature. Maybe this could be done using custom actions but I am not sure how.

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
steven_hunter
Posts: 7
Joined: Tue May 16, 2006 2:17 pm
Location: West Lafayette, IN

OK. In a related matter, is it possible to setup MSI actions when the application is launched for the first time by a new user?

This would seem to be part of the repair function of MSIs. Microsoft Office does this; the first time a user other than the one who installed Office runs any Office program, a little progress bar pops up as files, settings, and such are installed. Occasionally it will prompt you for the MSI package if it can't find the files it needs.

Worst case, does anyone know if I can add an entry to the RunOnce registry key for the "Default User" profile?

Thanks!!

Return to “Common Problems”