After my previous answer I started questioning my whole approach.

The configuration tool has the responsibility amongst other things to bind
an SSL certificate to a port.  I initially did not want to do this as part
of the install, but as part of a configuration tool, since the user can
choose to change binding ports and other settings throughout the life of the
product.  

Instead, I went with the first time config using CAs and default values,
like this if the user cancels the install the rollback will handle
un-installing things correctly.

As for my config app, I used a manifest to make sure the OS handles the
start of the tool in elevated mode.

Thanks for all your questions, it made my installer more robust and logical.
Marc

-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: December-16-2014 11:02 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Launch Application on Exit - with Elevated
Privileges

Configure on first run is a common pattern with some installs.  

One question I have is if it always needs to be elevated.  Is the
configuration tool a separate executable than the application? Does it
provide any value when in low privilege mode?  If it's yes to the first and
no to the second, you could manifest the tool to have the OS auto elevate
and avoid having to do an additional button click.

Is there a reason for needing elevation at all, or could the application
store its configuration info in the CommonAppData\App Name\ folder and be
modifiable by all without elevation.


-----Original Message-----
From: Marc Beaudry [mailto:mbeau...@matrox.com]
Sent: Tuesday, December 16, 2014 9:53 AM
To: 'General discussion about the WiX toolset.'
Subject: Re: [WiX-users] Launch Application on Exit - with Elevated
Privileges

Nick,

It's not a script, but a configuration tool/Application with UI.   

Thanks for the input, it is very appreciated.
Marc

-----Original Message-----
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: December-15-2014 12:51 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Launch Application on Exit - with Elevated
Privileges

Should you do this at all? Run a configuration script after the
installation?
In most cases, you shouldn't. It should be part of the install. Collect all
the data you need for the configuration during the UI portion of the install
and then use that data in deferred custom actions during the execute
sequence.



--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Launch-Applica
tion-on-Exit-with-Elevated-Privileges-tp7598584p7598586.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
Actuate! Instantly Supercharge Your Business Reports and Dashboards with
Interactivity, Sharing, Native Excel Exports, App Integration & more Get
technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
Actuate! Instantly Supercharge Your Business Reports and Dashboards with
Interactivity, Sharing, Native Excel Exports, App Integration & more Get
technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
Actuate! Instantly Supercharge Your Business Reports and Dashboards with
Interactivity, Sharing, Native Excel Exports, App Integration & more Get
technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to