Thanx for getting back to me Bob...

The code in my exit dialog looks like this:

  <Fragment>
    <UI>
      <Dialog Id="ExitDialog" Width="370" Height="270" 
Title="$(loc.ExitDialog_Title)">
        <Control Id="Finish" Type="PushButton" X="236" Y="243" 
Width="56" Height="17" Default="yes" Cancel="yes" Text="$(loc.WixUIFinish)">
          <Publish Event="EndDialog" Value="Return">1</Publish>
          <Publish Event='DoAction' Value='LaunchFile'>(NOT Installed) 
AND (LAUNCHPRODUCT = 1)</Publish>
        </Control>
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" 
Width="56" Height="17" Disabled="yes" Text="$(loc.WixUICancel)" />
        <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="234" TabSkip="no" Text="$(loc.ExitDialogBitmap)" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Disabled="yes" Text="$(loc.WixUIBack)" />
        <Control Id="Launch" Type="CheckBox" X="125" Y="120" Width="15" 
Height="15" Property='LAUNCHPRODUCT' CheckBoxValue='1'></Control>
        <Control Id='LaunchText' Transparent ='yes' Type='Text' X='145' 
Y='120' Width='150' Height='17' Text='Launch [ProductName]'></Control>
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Description" Type="Text" X="135" Y="70" Width="220" 
Height="20" Transparent="yes" NoPrefix="yes" 
Text="$(loc.ExitDialogDescription)" />
        <Control Id="Title" Type="Text" X="135" Y="20" Width="220" 
Height="60" Transparent="yes" NoPrefix="yes" 
Text="$(loc.ExitDialogTitle)" />
      </Dialog>

      <InstallUISequence>
        <Show Dialog="ExitDialog" OnExit="success" />
      </InstallUISequence>

      <AdminUISequence>
        <Show Dialog="ExitDialog" OnExit="success" />
      </AdminUISequence>
      <Property Id="LAUNCHPRODUCT">1</Property>
    </UI>
    <CustomAction Id="LaunchFile" FileKey="fooexe" ExeCommand="" 
Return="asyncNoWait" />
  </Fragment>

Where fooexe is the id of my primary executable.  Like I said, this 
works as long as the user doesn't change the installation folder?

I'll generate a log file as soon as I get a chance...probably later today.

Chuck



Bob Arnson wrote:
> Chuck wrote:
>> I have an installer that has a checkbox on the exit dialog that is 
>> supposed to launch the application.  It works perfectly unless the 
>> user changes the installation folder?
>>
>> I added the checkbox and custom action following the method in 
>> section 8.6 of the tutorial.
>>   
>
> Can you show the code you added to your installer? As long as you use 
> the FileKey CustomAction attribute, MSI uses the installed path. You 
> can also generate a log to get extra information:
>
> msiexec /l*vx install.log /i mypackage.msi
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to