If you allow users to browse to a different install folder, that changed path 
usually applies to the ProgramFiles folders, so beware of changed locations. A 
path to the exe based on [#file key] is more reliable because it works wherever 
the file is installed. 

Phil Wilson 


-----Original Message-----
From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] 
Sent: Wednesday, July 27, 2011 5:06 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Launching Exe at end of Installation...

Ok I think I found the issue. The ExeCommand is wrong, it should actually be...
<CustomAction Id="CA_LaunchLicenceManager"
         Directory="ProgramFilesFolder"
         ExeCommand="[ProgramFilesFolder]LicenceManager\MyLicenceManager.exe "
         Return="ignore" />

Damn paths. That then works as advertised. 

D.

-----Original Message-----
From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] 
Sent: 27 July 2011 11:45
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Launching Exe at end of Installation...

Hi all,
  I have the following Custom Action, based on reading the docs...

<CustomAction Id="CA_LaunchLicenceManager"
         Directory="ProgramFilesFolder"
         ExeCommand="[ProgramFiles64Folder]\LicenceManager\MyLicenceManager.exe 
"
         Return="ignore" />

And it is supposed to be called here...

<InstallExecuteSequence>    
    <!-- Things to do during install -->
    <Custom Action="CA_LaunchLicenceManager" After="InstallFinalize">NOT 
Installed</Custom>  </InstallExecuteSequence>


But the CA_LaunchLicenceManager never seems to be called, so the exe never 
starts.

Any ideas, suggestions?

Thanks,


DOMINIQUE LOUIS

######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This email was scanned and cleared by NetIQ MailMarshal.
######################################################################

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This email was scanned and cleared by NetIQ MailMarshal.
######################################################################

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to