Hi,
I am trying to prepare a two version of the launching for my app. One is
regular mode, and one for silent mode. I want to launch my app in silent mode
if the MSI is executed with /quiet mode. However, my second custom action
doesn't work.
Could you please help me on that?
There is no entry point named WixShellExecTargetSilent, CAQuietExec
is probably what you're after.
On Thu, Feb 18, 2010 at 10:11 AM, Baris Taze bt...@microsoft.com wrote:
Hi,
I am trying to prepare a two version of the launching for my app. One is
regular mode, and one for silent mode. I
I think the Windows Installer uses ::CreateProcess() to launch executable
custom actions. ::CreateProcess() ignores the manifest and attempts to
launch the executable using the same elevation token as the parent process.
To work around this, use the WixShellExec custom action:
What would be the solution in that case?
Should I use something else to launch as a beginning like start or cmd; and
then let it launch my target 'app' later? Do you know if that would work?
Many people must be needing this kind of launch scenario (i.e. elevated launch
after the
I use the following code to launch a program on finish, users are
always prompted to elevate, application manifest includes
requestedExecutionLevel level=requireAdministrator uiAccess=false
/
Fragment
CustomAction Id=SetAppTarget Property=WixShellExecTarget
Thank you very much. Applying the 'WixShellExec' which is described in the
below link has worked perfectly.
http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm
Thank you all for your great valued replies.
-Baris
-Original Message-
From: Sascha Beaumont
I tried that. At first glance, it seemed as if the setup was not launching the
app. However I checked the logs. I realized that the setup launches the MSI
after the installation indeed. Application gets launched; however, it fails
silently without prompting the elevation dialog.
If we double
If the application is manifested as requiresAdministrator (see the
requestedExecutionLevel element here:
http://msdn.microsoft.com/en-us/library/bb756929.aspx) then your app will
prompt the user and be elevated when launched, no matter from where that
launch occurs.
-Original Message-
8 matches
Mail list logo