Hello,
I have a rather simple installer which among other things registers and starts
some windows services.
As such, the installer requires admin privileges from the UAC on Vista and
Win7.
It runs beautifully on Windows XP, Windows Vista and Windows 7, so not problems
with the installer.
However, I need to launch an application when the user clicks the Finish button
on the last dialog.
Since the application needs to restart the services, it needs to run with
administrative privileges. I have as a result included a manifest in the
application requesting admin rights.
This also works beautifully, when executed separately.
On Windows XP the installer launches the application as it should, but on
Windows 7 (I haven't tested on Vista yet) it doesn't start.
I suspect it has to do with the installer running as "normal" user, while the
application requires admin privileges, and I am missing something for making
the installer able to launch the application.
My launch code looks like this:
<Product ..>
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction"
Value="LaunchConfig" Order="999">NOT Installed</Publish>
<CustomAction Id="LaunchConfig" FileKey="MasterConfig"
Return="asyncNoWait" />
Where the MasterConfig points correctly to an application being installed.
So, what am I missing?
Med venlig hilsen / Best regards,
Thomas Due - Software Developer
Tel: +45 8678 5500 Fax: +45 8678 5210
Johann Gutenbergs vej 5-9, Aarhus N, Denmark
[email protected] | www.scanvaegt.dk
This e-mail and its attachments are intended for the named addressee only and
may contain information that is confidential and privileged. Unauthorized use
can instigate a claim for damages and constitute a criminal offence. If you
received this in error, please contact the sender and delete the material.
-----Original Message-----
From: [email protected]
[mailto:[email protected]]
Sent: 4. juli 2010 03:48
To: [email protected]
Subject: WiX-users Digest, Vol 50, Issue 14
Send WiX-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/wix-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific than "Re:
Contents of WiX-users digest..."
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users