cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brianthegood
Level 6

Running an app after installation at the user's level

Installscript project - Installshield 2008

I install an application (with a digital signature) at 'Required Execution Level' of Adminstrator.

After the installation I want the installed app to be launched at the user's level because otherwise anything created by the app has admin privileges associated with the files. When the user logs back in, the files created are not accessible to them unless they re-elevate the privileges. Nice unintented consequence.

I looked at LaunchApplication with LAAW_OPTION_USE_SHELLEXECUTE but my eyes started to roll in my head when I looked at ALL the parameters.

Anyone have a clear example of trying to launch an application using Installscript at the users level after the installation?
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

It is, generally speaking, impossible for an elevated process to know what user to launch a non-elevated process as. I don't think the shell execute offers any options to specify a chosen user anyway.
0 Kudos