Well, this is my install-sequence: <InstallExecuteSequence> <AppSearch Suppress="yes"/> <Custom Action="do_install" Before="do_deploy"/> <Custom Action="do_deploy" After="InstallFiles">NOT Installed AND NOT REMOVE</Custom> <Custom Action="do_update" After="InstallFiles">Installed AND NOT REMOVE</Custom> <Custom Action="do_delete" After="InstallFiles">Installed AND REMOVE</Custom> </InstallExecuteSequence>
Hmm, if it's actually that hard to do, I'll probably stick with installing my files to some "dummy"-location - even though it will never be used except while registration ... > -----Original Message----- > From: Rob Mensching [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 29, 2008 7:00 PM > To: Henning Eiben; wix-users@lists.sourceforge.net > Subject: RE: Using CustomAction > > When are you executing the CustomAction? > > PS: if you don't want to install the file, then you'll need to either > write a block of code to temporarily extract it to disk (lots of work > to get that right in all cases securly) or try to find it on source > media (lots of problems if the source media isn't available). > Installing the file is probably easier as long as having it on disk > isn't a problem and it isn't *too* big. <smile/> > > -----Original Message----- > From: Henning Eiben [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 29, 2008 01:56 > To: Rob Mensching; wix-users@lists.sourceforge.net > Subject: RE: Using CustomAction > > 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