But how should I call an exe with arguments?. Any Idea.
  I serached on web and could not find proper documents.
  Please anybody know help.
   
  Srini
   
  

"Pierson Lee (Volt)" <[EMAIL PROTECTED]> wrote:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        
        Binary Key -> takes a <binary> tag with a dll/exe and will run it 
without extracting/installing it (the Binary is only valid at installtime)
  File key -> an extracted file that you need to access at install time also. 
This file will also be available after installation as per your <file> tag.
   
    From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of srinivas nomu
Sent: Tuesday, July 17, 2007 2:33 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to call an exe

   
    I really fed up working with .dll as there is no debug available. Now I 
created an .exe with the same code. 

     

    From the command line the usage is as folows:

    write.lic.exe 61177-1128925439-1187326800 9.0

     

    I need to pass the CD-Label key in the first argument and the version as 
second argument.

     

    I wrote the wix tag as follows:

     

    <Binary Id='WixLicense' SourceFile="write_lic.exe"/> 

    <CustomAction Id='createLicense' BinaryKey="write_lic.exe" 

    ExeCommand= ' "61177-1128925439-1187326800" "9.0" '  Execute="commit" 
Return="ignore"/>

     

    the sequence as follows:

    <InstallExecuteSequence>

    <RemoveExistingProducts After="InstallFinalize" />

    <Custom Action= "createLicense" After="InstallFinalize" />

    </InstallExecuteSequence>

     

     

    It compiles fine and links fine. When I execute the msi installer crashes. 
I donot know what is happening here. 

     

    Please somebody help me. Also, do I need to use "Binarykey" Or "FileKey" in 
Custom Action? and what is the difference between the two.

     

    <CustomAction Id='createLicense' BinaryKey="write_lic.exe" 

    ExeCommand= ' "61177-1128925439-1187326800" "9.0" '  Execute="commit" 
Return="ignore"/>

    
Thanks

    Srini

     

    
    
---------------------------------
  
  Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.



       
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection. 
-------------------------------------------------------------------------
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