If you follow the example on that web url it should work for you...
You can just add the:
<!-- Step 2: Add UI to your installer / Step 4: Trigger the custom action -->
<UI>
<UIRef Id="WixUI_Minimal" />
<Publish Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and
NOT Installed</Publish>
</UI>
That must be within your <Product element...
Follow the example and it should work :)
Steve
-----Original Message-----
From: nkshirsagar [mailto:[email protected]]
Sent: September-04-13 2:28 AM
To: [email protected]
Subject: [WiX-users] help! How do I launch a file upon install ?
Hello folks..
I've looked at
http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html
to see the proper way to launch an exe that I'm installing after the user
clicks the "finish" button. I've used the minimal gui, but added it as a
reference by right-clicking the "references" in the wix project in visual
studio, so I don't have a
<UI>
<UIRef Id="WixUI_Minimal" />
</UI>
element in my wxs file.
So where do I add this code ?
<Publish Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT
Installed</Publish>
The tutorial suggest I add it "anywhere in the UI element", but as I've added
the UI element as a reference through visual studio, I don't have it in my wxs
file! Would really appreciate someone's help on this as I've been stuck here
for quite some time, and I'm very new to wix !
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/help-How-do-I-launch-a-file-upon-install-tp7588736.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies and
advance your career. Get an incredible 1,500+ hours of step-by-step tutorial
videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users