Thanx for the hint, but somehow that doesn't quite work as expected ... maybe I should post some of my wix-code ... maybe I'm doing some stupid wrong ...
--- cut --- cut--- cut--- cut --- <Directory Id="TARGETDIR" Name="SourceDir"> <Component Id="myca" Guid="{31F124C9-9DA8-41d9-AF4D-E4E59CB8600B}" > <File Id="wsp2" Source="..\Deployment\WebPartAppTest.wsp"/> </Component> </Directory> <CustomAction Id="do_install" FileKey="wsp2" ExeCommand="[stsadm] -o addsolution -filename [!wsp2]" Return="check" /> --- cut --- cut--- cut--- cut --- I don't want to "install" the wsp-file somewhere on my machine ... which is why I didn't specified any target-directory. > -----Original Message----- > From: Rob Mensching [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 29, 2008 10:44 AM > To: Henning Eiben; wix-users@lists.sourceforge.net > Subject: RE: Using CustomAction > > 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:wix-users- > [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