When is your custom action scheduled? On Fri, Feb 18, 2011 at 3:17 PM, little.forest <little.for...@ymail.com>wrote:
> We found a problem in Vista/Win7: > If we launch the application from the installer for the fresh installation, > the > Integrity level is empty. The process is on the same level as > "explorer.exe". > If we start the application from Start menu after the installation, the > Integrity level is Medium(just like other applications). And the process is > under "explorer.exe". > > The question is, how to launch the application from installer to make it > have > "Medium" Integrity level. > > By the way, by using "Process Explorer" from SystemInternals and turning on > the > Integrity field, the Integrity level field will show up. > > The reason we ask this is because: we have a bug which seems related to > this > Integrity Level thing. If the app is started from the Start menu, things > are > fine. If the app is launched from the installer for the 1st time > installation, > some functionalities don't work. I tried to set the 'Impersonate' field to > be > 'no'. But it doesn't help. > > Here's our launch app code: > <Property Id="WixShellExecTarget" > Value="[INSTALLLOCATION]$(var.ExeFile)" /> > <CustomAction Id="LaunchApplication" > BinaryKey="WixCA" > DllEntry="WixShellExec" > Impersonate="no" > /> > > > Thanks in advance. > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users