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.<http://us.rd.yahoo.com/evt=48246/*http:/autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy>
-------------------------------------------------------------------------
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