FAQ Database Discussion Community

ExePackage does not run elevated although PerMaschine is set to “yes”

In my WIX-Bundle, i have an ExePackage like the following: It executes a ConsoleApplication which tries to open an write to a HKLM-Registry entry which fails when triggered out of the bundle. In cmd, everything works fine when executed as admin: <ExePackage Id="SqlServerAuthConfig" DisplayName="Configuration of SQL-Server Auth-Mode" Compressed="yes" PerMachine="yes" Vital="yes"...

How to broadcast window message from elevated installer process to user windows?

There is an InstallShield installer it writes new environment variables HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment and calls SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE,... also it creates shortcuts in the Start menu but right after installation they don't work because the program needs new variables. The installer usually asks for system restart, but in some configurations it doesn't...