2009/8/6 <[email protected]> > Send WiX-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/wix-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of WiX-users digest..." > > > Today's Topics: > > 1. Re: How to put computer name in CustomAction ExeCommand? > (Jiang, Chunyan (GE Healthcare)) > 2. Copying a directory for an install (Dan Hoeger) > 3. Problem with IIS extension (Lo?c DELAMBRE) > 4. How to make use of the output .wxs file of heat.exe in > WiX3.0? (bonn deng) > 5. Re: Wix and XP Embedded (Brian Rogers) > 6. Re: Problem with IIS extension (Yan Sklyarenko) > 7. Re: How to make use of the output .wxs file of heat.exe > inWiX3.0? (Yan Sklyarenko) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 6 Aug 2009 16:44:25 +0200 > From: "Jiang, Chunyan (GE Healthcare)" <[email protected]> > Subject: Re: [WiX-users] How to put computer name in CustomAction > ExeCommand? > To: "General discussion for Windows Installer XML toolset." > <[email protected]> > Message-ID: > <c648a01d129e69469ecd7dd88190dad108044...@budmlvem08.e2k.ad.ge.com> > Content-Type: text/plain; charset="iso-8859-1" > > Thanks John. I tried you suggestion. And it passed the compile. But how it > performs actually, I need to run the .msi. > > Cheers, > > Chunyan > > -----Urspr?ngliche Nachricht----- > Von: John Ludlow [mailto:[email protected]] > Gesendet: Donnerstag, 6. August 2009 15:39 > An: General discussion for Windows Installer XML toolset. > Betreff: Re: [WiX-users] How to put computer name in CustomAction > ExeCommand? > > There's a ComputerName property: > > http://msdn.microsoft.com/en-us/library/aa368009(VS.85).aspx > > So > > <CustomAction Id='MyCA' FileKey='my.exe' ExeCommand='do something > xxx_[ComputerName]' Return='check' /> > > 2009/8/6 Jiang, Chunyan (GE Healthcare) <[email protected]>: > > Hi Wix-user, > > > > I want to define one Custom Action like this: > > > > <CustomAction Id='MyCA' FileKey='my.exe' ExeCommand='do something > > xxx_COMPUTERNAME' Return='check' /> > > > > How can I get the computer name in wix and put it into the ExeCommand? > > > > > > > > Regards, > > > > > > > > Chunyan > > > > ---------------------------------------------------------------------- > > -------- Let Crystal Reports handle the reporting - Free Crystal > > Reports 2008 30-Day trial. Simplify your report design, integration > > and deployment - and focus on what you do best, core application > > coding. Discover what's new with Crystal Reports now. ? > > http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > WiX-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what you do best, core application coding. Discover what's new with > Crystal Reports now. > http://p.sf.net/sfu/bobj-july_______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------ > > Message: 2 > Date: Thu, 6 Aug 2009 15:04:08 +0000 > From: Dan Hoeger <[email protected]> > Subject: [WiX-users] Copying a directory for an install > To: "[email protected]" > <[email protected]> > Message-ID: > < > f0797b96c3a6784d81ff01c26977248019c5e...@tk5ex14mbxc106.redmond.corp.microsoft.com > > > > Content-Type: text/plain; charset="us-ascii" > > We are installing a web application and we are dependent on another project > that installs to the root web site only. > > I would prefer to use a merge module from this company but they said we > should just copy the files we need from their installed directory. > > So I'm looking for some advice. > > Is there an existing custom action or way to "xcopy" a directory from one > spot to another? > > I thought about just adding these files to our install but then we have to > manage them and then we would have issues if they update them. > > I really don't like this situation because it seems like we are setting > ourselves up for issues down the road for getting updates to those files. > > Any suggestions? > > Thanks, > > Dan > > > ------------------------------ > > Message: 3 > Date: Thu, 6 Aug 2009 16:53:53 +0200 > From: Lo?c DELAMBRE <[email protected]> > Subject: [WiX-users] Problem with IIS extension > To: "[email protected]" > <[email protected]> > Message-ID: > < > feae1e07e92d9040935f6a7a49d66d546ec7e...@exch-intra-02.ad-archimed.fr> > > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I' m working on a setup for our product. The setup has 2 features : > > - First feature to install our service > > - Second feature to install the web application in an existing web > site > The two feature are optional : I want that users can install only the > service or only the web application or both. > > I'm testing my setup under Windows Server 2008 SP2 (x64) and I have an > error when the "Web Server" role is not installed. Even if the web feature > is unselected (level = 0), it fails. If I remove the WebApp component from > setup, it works. I tried to put a condition on the component, but it fails > too. > > Here are parts of my setup : > > <Feature Id="web" Title="Web site" Level="1" > ConfigurableDirectory="IISROOT" > > <ComponentGroupRef Id="group_web"/> > <ComponentRef Id="WebApp"/> > <ComponentRef Id="InstallRegistryEntries"/> > <Condition Level="0"> > <![CDATA[IIS56="#0" AND (IIS7="#0" OR IIS7ASP="#0" OR > IIS7StaticContent="#0" OR IIS7WindowsAuthentication="#0" OR > IIS7ManagementConsole="#0" OR IIS7Metabase="#0")]]> > </Condition> > </Feature> > > <Fragment> > <IIs:WebSite Id='DefaultWebSite' Description='[WEBDESCRIPTION]'> > <IIs:WebAddress Id='DWSA' Port='[WEBPORT]' IP="*" /> > </IIs:WebSite> > > <DirectoryRef Id='TARGETDIR'> > <Component Id="WebApp" Guid="3ED4CCEC-8528-4566-A573-BA24ADA43FE3"> > <CreateFolder/> > <IIs:WebServiceExtension Id="ASP" Allow="yes" > File="[System64Folder]inetsrv\asp.dll" Description="ASP Pages" /> > <IIs:WebAppPool Id="WatchdocAppPool" Name="WatchdocPool" > Identity="localSystem"/> > <IIs:WebVirtualDir Id="WatchdocVDir" Alias="watchdoc" > Directory="dir_web_watchdoc4110_0" WebSite="DefaultWebSite"> > <IIs:WebApplication Id="WatchdocWebApp" Name="watchdoc" > ParentPaths="yes"/> > </IIs:WebVirtualDir> > <Condition><![CDATA[IIS56="#1" OR IIS7="#1"]]></Condition> > </Component> > </DirectoryRef> > </Fragment> > > In the log file : > MSI (s) (88:14) [16:06:47:353]: Component: WebApp; Installed: Absent; > Request: Null; Action: Null > ... > MSI (s) (88:14) [16:06:53:166]: Executing op: > ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase > Transaction,) > Action 16:06:53: StartMetabaseTransaction. Starting IIS Metabase > Transaction > MSI (s) (88:14) [16:06:53:182]: Executing op: > CustomActionSchedule(Action=StartMetabaseTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (88:74) [16:06:53:182]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIDE3.tmp, Entrypoint: StartMetabaseTransaction > StartMetabaseTransaction: Error 0x80040154: failed to get > IID_IIMSAdminBase object > Error 26001. Cannot connect to Internet Information Server. (-2147221164 > ) > MSI (s) (88!74) [16:06:54:322]: Product: Watchdoc -- Error 26001. Cannot > connect to Internet Information Server. (-2147221164 ) > > Action ended 16:06:54: InstallFinalize. Return value 3. > ... > Property(C): IIS56 = #0 > Property(C): IIS7 = #0 > Property(C): IIS7ASP = #0 > Property(C): IIS7STATICCONTENT = #0 > Property(C): IIS7WINDOWSAUTH = #0 > Property(C): IIS7MC = #0 > Property(C): IIS7METABASE = #0 > > How can I isolate the web part of my setup to avoid an error when Web > server is not installed? > > Thanks for the help. > > Best regards, > Lo?c Delambre > > > ------------------------------ > > Message: 4 > Date: Thu, 6 Aug 2009 23:20:06 +0800 > From: bonn deng <[email protected]> > Subject: [WiX-users] How to make use of the output .wxs file of > heat.exe in WiX3.0? > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, I am now using heat.exe to generate the .wxs file of one > directory with the command: > heat.exe dir "." -gg -nologo -sfrag -out test.wxs -template:product > , where the current directory contains thousands of files (because it's > the root dir of a web application). > Then I want to include all the files listed in the test.wxs into another > .wxs file, but the question is: there're so many components and the > test.wxs > file doesn't list all the components in the Feature Element, in this case > it > would be impossible for me to do it manually, What can I do? Please help, > thank you so much in advance! > Best wishes, > Bonn > > > ------------------------------ > > Message: 5 > Date: Thu, 6 Aug 2009 08:21:05 -0700 > From: Brian Rogers <[email protected]> > Subject: Re: [WiX-users] Wix and XP Embedded > To: "General discussion for Windows Installer XML toolset." > <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hey Andrew, > > I have confirmed that it is supported. > > Thanks, > > Brian Rogers > "Intelligence removes complexity." - Me > http://blogs.msdn.com/icumove <-- NEW > > > On Wed, Aug 5, 2009 at 3:37 AM, Andrew Dedman <[email protected] > >wrote: > > > Anyone know if XP Embedded can handle an msi file? Does XP embedded ship > > with Windows Installer or do you have to download the redistributable? > > > > Thanks > > > > Andrew > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > WiX-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------ > > Message: 6 > Date: Thu, 6 Aug 2009 17:25:11 +0200 > From: "Yan Sklyarenko" <[email protected]> > Subject: Re: [WiX-users] Problem with IIS extension > To: "General discussion for Windows Installer XML toolset." > <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Set the SKIPCONFIGUREIIS property to 1. > > -- Yan > > -----Original Message----- > From: Lo?c DELAMBRE [mailto:[email protected]] > Sent: Thursday, August 06, 2009 5:54 PM > To: [email protected] > Subject: [WiX-users] Problem with IIS extension > > Hi, > > I' m working on a setup for our product. The setup has 2 features : > > - First feature to install our service > > - Second feature to install the web application in an existing web > site > The two feature are optional : I want that users can install only the > service or only the web application or both. > > I'm testing my setup under Windows Server 2008 SP2 (x64) and I have an > error when the "Web Server" role is not installed. Even if the web feature > is unselected (level = 0), it fails. If I remove the WebApp component from > setup, it works. I tried to put a condition on the component, but it fails > too. > > Here are parts of my setup : > > <Feature Id="web" Title="Web site" Level="1" > ConfigurableDirectory="IISROOT" > > <ComponentGroupRef Id="group_web"/> > <ComponentRef Id="WebApp"/> > <ComponentRef Id="InstallRegistryEntries"/> > <Condition Level="0"> > <![CDATA[IIS56="#0" AND (IIS7="#0" OR IIS7ASP="#0" OR > IIS7StaticContent="#0" OR IIS7WindowsAuthentication="#0" OR > IIS7ManagementConsole="#0" OR IIS7Metabase="#0")]]> > </Condition> > </Feature> > > <Fragment> > <IIs:WebSite Id='DefaultWebSite' Description='[WEBDESCRIPTION]'> > <IIs:WebAddress Id='DWSA' Port='[WEBPORT]' IP="*" /> > </IIs:WebSite> > > <DirectoryRef Id='TARGETDIR'> > <Component Id="WebApp" Guid="3ED4CCEC-8528-4566-A573-BA24ADA43FE3"> > <CreateFolder/> > <IIs:WebServiceExtension Id="ASP" Allow="yes" > File="[System64Folder]inetsrv\asp.dll" Description="ASP Pages" /> > <IIs:WebAppPool Id="WatchdocAppPool" Name="WatchdocPool" > Identity="localSystem"/> > <IIs:WebVirtualDir Id="WatchdocVDir" Alias="watchdoc" > Directory="dir_web_watchdoc4110_0" WebSite="DefaultWebSite"> > <IIs:WebApplication Id="WatchdocWebApp" Name="watchdoc" > ParentPaths="yes"/> > </IIs:WebVirtualDir> > <Condition><![CDATA[IIS56="#1" OR IIS7="#1"]]></Condition> > </Component> > </DirectoryRef> > </Fragment> > > In the log file : > MSI (s) (88:14) [16:06:47:353]: Component: WebApp; Installed: Absent; > Request: Null; Action: Null > ... > MSI (s) (88:14) [16:06:53:166]: Executing op: > ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase > Transaction,) > Action 16:06:53: StartMetabaseTransaction. Starting IIS Metabase > Transaction > MSI (s) (88:14) [16:06:53:182]: Executing op: > CustomActionSchedule(Action=StartMetabaseTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (88:74) [16:06:53:182]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIDE3.tmp, Entrypoint: StartMetabaseTransaction > StartMetabaseTransaction: Error 0x80040154: failed to get > IID_IIMSAdminBase object > Error 26001. Cannot connect to Internet Information Server. (-2147221164 > ) > MSI (s) (88!74) [16:06:54:322]: Product: Watchdoc -- Error 26001. Cannot > connect to Internet Information Server. (-2147221164 ) > > Action ended 16:06:54: InstallFinalize. Return value 3. > ... > Property(C): IIS56 = #0 > Property(C): IIS7 = #0 > Property(C): IIS7ASP = #0 > Property(C): IIS7STATICCONTENT = #0 > Property(C): IIS7WINDOWSAUTH = #0 > Property(C): IIS7MC = #0 > Property(C): IIS7METABASE = #0 > > How can I isolate the web part of my setup to avoid an error when Web > server is not installed? > > Thanks for the help. > > Best regards, > Lo?c Delambre > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > > Thank you, Yan. But is there any good documentation about that? Thanks again!
--Bonn > > ------------------------------ > > Message: 7 > Date: Thu, 6 Aug 2009 17:26:57 +0200 > From: "Yan Sklyarenko" <[email protected]> > Subject: Re: [WiX-users] How to make use of the output .wxs file of > heat.exe inWiX3.0? > To: "General discussion for Windows Installer XML toolset." > <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > You can try transforming the resulting test.wxs with XSLT the way you > wish. See -t switch of heat.exe > > -- Yan > > > -----Original Message----- > From: bonn deng [mailto:[email protected]] > Sent: Thursday, August 06, 2009 6:20 PM > To: [email protected] > Subject: [WiX-users] How to make use of the output .wxs file of heat.exe > inWiX3.0? > > Hi all, I am now using heat.exe to generate the .wxs file of one > directory with the command: > heat.exe dir "." -gg -nologo -sfrag -out test.wxs -template:product > , where the current directory contains thousands of files (because > it's > the root dir of a web application). > Then I want to include all the files listed in the test.wxs into > another > .wxs file, but the question is: there're so many components and the > test.wxs > file doesn't list all the components in the Feature Element, in this > case it > would be impossible for me to do it manually, What can I do? Please > help, > thank you so much in advance! > Best wishes, > Bonn > ------------------------------------------------------------------------ > ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------ > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > ------------------------------ > > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > > End of WiX-users Digest, Vol 39, Issue 18 > ***************************************** > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

