Custom action on User Login - 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!

kalex
Posts: 4
Joined: Thu Feb 17, 2011 6:02 pm

Custom action on User Login

Hi,

I habe the following problem:

My installer contains a custom action, that performs complex changes in the Registry of all Users (HKEY_USERS), that are
not possible to perform with the normal Registry Features of Windows Installer (Keys must be renamed or reordered depending on current State and so on...)

Our Administrator deploys the MSI over Windows Server. All works well unless a User chooses to Install over "Install Updates & Shutdown".
When the user performs "Install Updates & Shutdown", Windows first logges out the current user and then Installs. The problem here is, that
a domain user is no longer avaiable in the Registry, because the User profile is replicated to the server and than deleted from the registry, when
a domain user logges out. So there is no possibility to catch the user for the Custom Action.

My Question ist, is there any possibility to build an Installer, that can trigger a Custom Actions once a User logges, after the normal installation
has been performend on "Install Updates & Shutdown"?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom action on User Login

Hello,

A custom action is only available during the install process. If you need this functionality you can build an .EXE and from the Scheduled Tasks Page, create a scheduled task that will execute the .EXE when the user loges on.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”