McGoogus McGrapple wrote:
> YES!  That was it!  Thank you so much.  I've been banging my head 
> against a wall on this one for a while.  I couldn't for the life of me 
> find a solution on the net.  Below is the changed markup in my exit 
> dialog for any who experience the same issue.  (I saw a lot of the 
> same questions in multiple places.)  Thanks again.
>
> <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
> Height="17" Default="yes" Cancel="no" Text="[Button_Finish]">
>     <Publish Event="SetTargetPath" Value="INSTALLDIR">1</Publish>
>     <Publish Event="DoAction" Value="LaunchApplication">(NOT 
> Installed) AND (LAUNCHPRODUCT = 1)</Publish>
>     <Publish Event="EndDialog" Value="Return">1</Publish>
> </Control>

That's not actually a great sign -- by that point, the product is 
installed, so you're just working around this particular problem. 
SetTargetPath should be used in whatever dialog you provide to let users 
pick the install path.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to