Hi,

Yes I'm using MsiGetProperty to get the value, the MessageBox call works, I've 
done that before, and the return value is accurate, the only problem I'm having 
is with the ShellExecute call, which in the same format works from an EXE I 
tested with. I don't have the code with me right now, but if it's really 
necessary I can post it, if somebody has some sample code to do something 
similar it would also be great, all I'm trying to do is open a file after the 
installer finishes, this shouldn't be so difficult.

Also, is there a way to expand Zip files that were installed? I mean, without 
writing a whole Zip handler?

Regards,

Lionel
  ----- Original Message ----- 
  From: Levi Wilson 
  To: wix-users@lists.sourceforge.net ; [EMAIL PROTECTED] 
  Sent: Thursday, January 04, 2007 3:28 PM
  Subject: Re: [WiX-users] Custom Action DLL


  I believe that if it is a deferred CA you will have limited access to the MSI 
database (The "CustomActionData" property only pretty much).  Are you checking 
the return value from the MsiGetProperty?  Maybe post your C++ code so we can 
take a look at it, but first of all, can you also throw in a MessageBox() call 
to see if your CA is getting called (if you haven't already done that). 

  - Levi

  Lionel Pinkhard wrote:

    Hi,

    I'm trying to write a custom action DLL that looks up an MSI variable and 
then shellexecutes it, this is turning out to be extremely difficult, as if I 
call ShellExecute in Win32 API (using C++), it just does nothing, everything in 
the code appears to be working, but it just does nothing, is there any secret 
here?

    Regards,

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