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.
-------------------------------------------------------------------------
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