Yeah, the code would help a lot.  That way I would be able to take a closer
look at it to see what you're trying to do here.  Did you also check the
returned string from the MsiGetProperty call to ensure that the parameter
that you're passing to ShellExecute is a valid path? You might want to throw
a call into there such as PathFileExists to make sure that the file is on
the target machine as well.  As for the ZIP question, I would not be
qualified to answer that.  I know that XP natively supports compressed
archives, but I do not know if there is some sort of command that you could
pass to the ShellExecute on a ZIP file to extract it or if there is some
sort of other method.  I doubt that this operation will be as trivial on a
<=Win2k workstation however.

Lionel Pinkhard wrote:

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

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