Hi Blair,

I wish it was that simple.  It isn't a GUI application, it is a service (which 
you can control from the command line).  It has no GUI.  We can write one, but 
hoped we could just use the easy to develop GUI in the installer using WiX to 
configure the service's config file.  On top of that we hoped to validate the 
credentials supplied.

This is for the Rackspace Monitoring Agent, an on-host agent, which we are 
looking to improve the installation and configuring process for our Windows 
users.  My work-in-progress on revising this installer: 
https://github.com/racker/virgo-base/blob/b46ff4e8f004654ecd07a3f2f5742c80337aee8a/pkg/windows/virgo.wxs

The service's exe can create the setup file and validate it exiting with a 
non-zero error code on failure.  What I am asking is can a WiX created 
installer execute an installed exe and act on its return code.

This may not be as simple as I hoped.  My initial research looks like there are 
ways to run an exe but not interpret its return code.  Other options look like 
I can use WcaUtil to hook into a wrapper.  It doesn't look simple either way, 
maybe someone will either tell me I'm wrong or give me another way to look it.

Thank you for your help,

Rob
________________________________________
From: Blair Murri [os...@live.com]
Sent: Wednesday, October 23, 2013 8:35 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Setup Testing

I'm not sure I understand what you are asking.

The simple answer is: install the app, then run the app passing the supplied 
credentials on the command line. It seems to me that it would be easier to not 
involve the installer in the credentials because there isn't much difference 
between that and simply installing and launching and letting the application 
ask for the credentials.

Every other possibility requires knowing more details about your application 
and your need/goals in having the installer gather the credentials in the first 
place.

Blair


Rob Emanuele <robert.emanu...@rackspace.com> wrote:

Hi!

We're creating an installer and would like the user to enter their account 
credentials into the installer.  I have a dialog to do that and that part is 
looking good.  I'd like use those credentials to run a test of our application 
in the installer.  Can I run my application and act on the return code within 
the installer?

Thank you,

Rob

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&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