The Formatted topic in the MSI SDK describes the magical syntax to get you the 
full path to your file: "[!FileId]".  Lots of other good stuff in that 
particular help topic.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henning Eiben
Sent: Monday, April 28, 2008 06:29
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using CustomAction

Hi List,

I created a rather simple wix-project to create a MSI installer for my project. 
I wrote a simple webpart for sharepoint (which actually doesn't really matter 
at this point ...), which I would like to register using 'stsadm'. OK, so I put 
my webpart (packaged as a WSP-file) as a binary in my installer. Next I would 
like to issue a command like 'stsadm -o addsolution -filename mywebpart.wsp', 
where 'mywebpart.wsp' is the name of the binary.

But how would I do something like this? I didn't find any clue, on how to pass 
a binary as an argument to a custom action.

So I create a custom action like <customaction id=foo execomand="stsadm -o 
addsolution -filename mywebpart.wsp"/> but who would a temporary find my 
extracted binary, since I would have to provide an according path?

--

Mit freundlichem Gruß

Henning Eiben

busitec GmbH
Consultant

e-mail: [EMAIL PROTECTED]


+49 (251) 13335-0 Tel
+49 (251) 13335-35 Fax

Rudolf-Diesel-Straße 59
48157 Münster
www.busitec.de

Sitz der Gesellschaft: Münster
HR B 55 75 - Amtsgericht Münster
USt-IdNr. DE 204607833 - St.Nr. 336/5704/1277
Geschäftsführer: Simon Böwer, Henning Eiben, Stefan Kühn, Martin Saalmann



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to