Thanks for explaining in detail :)
I am now planning to write merge module in wix :)

Thanks,

On Fri, Oct 16, 2009 at 12:48 PM, Blair <os...@live.com> wrote:

> VS Setup and Deployment projects is an absolutely awful toolset for
> generating anything related to setup and/or deployments.
>
> Remember when Visual SourceSafe first came out over a decade ago, or am I
> showing my age? At the time it was no good for all workgroups larger than
> two people, and even for those smaller than that it was a
> pain-in-the...@#!%@# (when it wasn't losing or corrupting your data). I
> don't know how much it has improved (or not) over the years because I have
> never used it since.
>
> VS Setup/Deployment Projects are at that (awful) stage now. That is why so
> many people were so excited about the prospect of WiX shipping in-the-box in
> VS2010. Unfortunately that isn't happening (although it did ship in the CTP)
> but there are still serious problems with the kinds of code that VS
> Setup/Deployment system produces.
>
> The MSM with the custom actions has a bug in the custom actions themselves.
> Smoke isn't going to be able to determine what those problems are because it
> doesn't exercise the custom actions. There is documentation in MSDN and on
> the web regarding debugging custom actions. You are getting an error inside
> of the InstallUtilLib.dll code library that your custom action is calling
> into. Maybe an attached debugger will help you with that custom action.
>
> InstallUtilLib is used in making self-registration code. A strong
> recommendation is to scrap self-reg code and use DTF (which ships with WiX)
> to write self-contained custom actions to perform the parts of your
> registration that can't be done with XmlConfig or any of the other actions
> that WiX ships with.
>
> Do a search on any large search engine for the term "InstallUtilLib.dll".
> The results are in the thousands. And many are people sharing their pain and
> frustration.
>
> -----Original Message-----
> From: cad [mailto:ankit.9...@gmail.com]
> Sent: Thursday, October 15, 2009 10:52 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Web setup using .msm
>
> Hi Blair,
>
> I did a smoke test (using smoke.exe) on the .msm(containing custom actions)
> I got this result.
>
> It results into following error.
>
>
> error SMOK0204 : ICE03: Table: Error Column: Error Missing specifications
> in
> _Validation Table (or Old Database)
> error SMOK0204 : ICE03: Table: Error Column: Message Missing specifications
> in _Validation Table (or Old Database)
>
> and resulting .msm (without custom actions)
>
> passes this test.
>
> Can you help me how can i fix this issue in .msm or any pointers how to
> locate the problem.
> I am the one who is creating the .msm using VS Merge Module and want to use
> the same in web based wix set up.
>
> Thanks for reply.
>
>
> On Thu, Oct 15, 2009 at 7:38 PM, Blair <os...@live.com> wrote:
>
> > Who wrote the MSM? Ask them to fix the failing custom action, or at least
> > determine why the custom action is failing, or how to determine why the
> > custom action is failing.
> >
> > If the custom action that is failing is attempting self-registration,
> this
> > would be a good opportunity to get rid of that MSM and have what it was
> > doing changed to not use self-registration.
> >
> > -----Original Message-----
> > From: cad [mailto:ankit.9...@gmail.com]
> > Sent: Wednesday, October 14, 2009 10:14 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Web setup using .msm
> >
> > Hi Blair,
> >
> > How do i do this checking in the referred .msm.?
> >
> > Thanks,
> >
> >
> >
> > On Wed, Oct 14, 2009 at 8:58 PM, Blair <os...@live.com> wrote:
> >
> > > It appears to be a failure in an action coming from your
> > > HealthCheckMergeModule.msm. You will need to check with the author of
> > that
> > > MSM in order to diagnose that failure.
> > >
> > > -----Original Message-----
> > > From: Asterisk [mailto:ankit.9...@gmail.com]
> > > Sent: Wednesday, October 14, 2009 12:02 AM
> > > To: wix-users@lists.sourceforge.net
> > >  Subject: Re: [WiX-users] Web setup using .msm
> > >
> > >
> > >
> > >
> > > Blair-2 wrote:
> > > >
> > > > Not sure, but InstallUtil* is Self-Reg (aka evil). Visual Studio's
> > setup
> > > > projects do several things that make deployment "easier" that
> > invariably
> > > > cause headaches later on when you have to service/maintain those
> setups
> > > > (including broken upgrades, orphaned resources, failed removals,
> etc.).
> > > >
> > > > -----Original Message-----
> > > > From: Asterisk [mailto:ankit.9...@gmail.com]
> > > > Sent: Tuesday, October 13, 2009 4:26 AM
> > > > To: wix-users@lists.sourceforge.net
> > > > Subject: [WiX-users] Web setup using .msm
> > > >
> > > >
> > > > Hi ,
> > > >
> > > > Please guide me to create a web setup (.msi).
> > > > I have a .msm file created in visual studio merge module which
> > basically
> > > > does all the work.
> > > > 1.It creates a virtual directory and deploys the web application.
> > > > 2.It creates various performance counters and installs it.
> > > > I want to refer it into a wix based setup(.msi refering to
> > existing.msm)
> > > >
> > > > I have created a a web setup by refering to this existing .msm in VS
> > 2008
> > > > and it works perfect.
> > > > Can anyone help me to create same web setup by refering to the same
> > .msm
> > > > created in vs 2008 as merge module.
> > > >
> > > > When i refer it and create .msi , and run it gives me error "Error
> > 1001.
> > > > InstallUtilLib dll: Unknown error" while installing the web
> > application.
> > > >
> > > > When i remove my custom actions as part of .msm and refer the same in
> > wix
> > > > web setup. it works fine.
> > > > Can anyone help me put to put these custom actions as a part of .msm?
> > > > Or i have to include these custom actions as a part of wix web setup?
> > > >
> > > >
> > > >
> > > >
> > > > Thanks in advance:)
> > > > --
> > > > View this message in context:
> > > > http://n2.nabble.com/Web-setup-using-msm-tp3815520p3815520.html
> > > > Sent from the wix-users mailing list archive at Nabble.com.
> > > >
> > > >
> > >
> >
> ----------------------------------------------------------------------------
> > > > --
> > > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > > > is the only developer event you need to attend this year. Jumpstart
> > your
> > > > developing skills, take BlackBerry mobile applications to market and
> > stay
> > > > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > > > http://p.sf.net/sfu/devconference
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------------
> > > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > > > is the only developer event you need to attend this year. Jumpstart
> > your
> > > > developing skills, take BlackBerry mobile applications to market and
> > stay
> > > > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > > > http://p.sf.net/sfu/devconference
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > >
> > > In log file i could find that the install sequence is gicing me
> problem..
> > >
> > > ....
> > >
> > > MSI (s) (94:50) [11:20:08:552]: Executing op:
> > > InstallProtectedFiles(AllowUI=1)
> > > MSI (s) (94:50) [11:20:08:552]: Executing op:
> > > ActionStart(Name=_51E360DF_F34A_421D_A7AC_67C0A4676F95.commit,,)
> > > MSI (s) (94:50) [11:20:08:583]: Executing op:
> > >
> > >
> >
> CustomActionSchedule(Action=_51E360DF_F34A_421D_A7AC_67C0A4676F95.commit,ActionType=3585,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction
> > > /action=commit /LogFile= /targetvdir="" "C:\Program
> > > Files\Setup\HealthCheck.Core.dll" "")
> > > MSI (s) (94:50) [11:20:08:583]: Executing op:
> > > ActionStart(Name=_5795ED8E_F94E_4E6D_8F5F_0CA4CFB131AD.install,,)
> > > MSI (s) (94:50) [11:20:08:583]: Executing op:
> > >
> > >
> >
> CustomActionSchedule(Action=_5795ED8E_F94E_4E6D_8F5F_0CA4CFB131AD.install,ActionType=3073,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction
> > > /action=install /LogFile= "C:\Program Files\Setup\HealthCheck.Core.dll"
> > "")
> > > MSI (s) (94:E0) [11:20:08:599]: Invoking remote custom action. DLL:
> > > C:\WINDOWS\Installer\MSI304.tmp, Entrypoint: ManagedInstall
> > > MSI (c) (00:7C) [11:20:08:614]: Font created.  Charset: Req=0, Ret=0,
> > Font:
> > > Req=MS Shell Dlg, Ret=MS Shell Dlg
> > >
> > > Error 1001. Error 1001. InstallUtilLib.dll: Unknown error.
> > > MSI (s) (94!84) [11:20:10:927]:   朁㿟    栗㿟⃰㿾 枸㿟︸
> > > Ĵ
> > >  䍗㿥︸
> > > Ĩ
> > > 䍻㿥︸
> > >  Ā
> > > MSI (s) (94:E0) [11:20:10:927]: Leaked MSIHANDLE (78) of type 790531
> for
> > > thread 4740
> > > MSI (s) (94:E0) [11:20:10:927]: Note: 1: 2769 2:
> > > _5795ED8E_F94E_4E6D_8F5F_0CA4CFB131AD.install 3: 1
> > > DEBUG: Error 2769:  Custom Action
> > > _5795ED8E_F94E_4E6D_8F5F_0CA4CFB131AD.install did not close 1
> MSIHANDLEs.
> > > The installer has encountered an unexpected error installing this
> > package.
> > > This may indicate a problem with this package. The error code is 2769.
> > The
> > > arguments are: _5795ED8E_F94E_4E6D_8F5F_0CA4CFB131AD.install, 1,
> > > Action ended 11:20:10: InstallFinalize. Return value 3.
> > > MSI (s) (94:50) [11:20:10:973]: User policy value 'DisableRollback' is
> 0
> > > MSI (s) (94:50) [11:20:10:973]: Machine policy value 'DisableRollback'
> is
> > 0
> > >
> > > ......
> > > Any help what is going wrong here .....
> > >
> > > my wxs looks like this
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
> > > xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>
> > >        <Product Id="0966e1e2-7273-405d-9e4e-271615c43c41" Name="Setup"
> > > Language="1033" Version="1.0.0.0" Manufacturer="Setup"
> > > UpgradeCode="ef1e1f62-e28c-4630-b9c1-2e3680250f98">
> > >                <Package InstallerVersion="200" Compressed="yes" />
> > >
> > >                <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
> > >
> > >                <Directory Id="TARGETDIR" Name="SourceDir">
> > >                        <Directory Id="ProgramFilesFolder">
> > >                                <Directory Id="InstallDir" Name="Setup">
> > >          <Component Id='c_CustomActions'
> > > Guid='45825D4E-C28C-4bae-9172-5BE8E84BB758'>
> > >                       <File Id='ConfigFile' Name='IuConfig.xml'
> > > Source='IuConfig.xml' Vital="yes" DiskId="1" />
> > >
> > >
> > >          </Component>
> > >          <Merge Id='MyModule' Language='1033'
> > > SourceFile='HealthCheckMergeModule.msm' DiskId='1' />
> > >
> > >        </Directory>
> > >                        </Directory>
> > >      <Component Id='TestWebVirtualDirComponent'
> > > Guid='CBAFF49F-4776-4058-BDBF-D7B62AA89C53'>
> > >        <iis:WebVirtualDir Id='TestWebVirtualDir'
> Alias='TestHealthCheck'
> > > Directory='InstallDir' WebSite='DefaultWebSite'>
> > >          <iis:WebApplication Id='TestWebApplication'
> > Name='TestHealthCheck'
> > > />
> > >        </iis:WebVirtualDir>
> > >      </Component>
> > >                </Directory>
> > >    <iis:WebSite Id='DefaultWebSite' Description='Default Web Site'>
> > >      <iis:WebAddress Id='AllUnassigned' Port='80' />
> > >    </iis:WebSite>
> > >
> > >    <Feature Id="ProductFeature" Title="Setup" Level="1">
> > >                        <!-- TODO: Remove the comments around this
> > > ComponentRef element and the
> > > Component above in order to add resources to this installer. -->
> > >                        <!-- <ComponentRef Id="ProductComponent" /> -->
> > >      <ComponentRef Id='TestWebVirtualDirComponent' />
> > >      <ComponentRef Id='c_CustomActions' />
> > >      <MergeRef Id='MyModule'/>
> > >                </Feature>
> > >
> > >
> > >
> > >    <AdvertiseExecuteSequence>
> > >      <MsiPublishAssemblies/>
> > >    </AdvertiseExecuteSequence>
> > >
> > >    <InstallExecuteSequence>
> > >
> > >
> > >      <MsiPublishAssemblies/>
> > >      <MsiUnpublishAssemblies/>
> > >    </InstallExecuteSequence>
> > >        </Product>
> > > </Wix>
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > > http://n2.nabble.com/Web-setup-using-msm-tp3815520p3821022.html
> > > Sent from the wix-users mailing list archive at Nabble.com.
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > > is the only developer event you need to attend this year. Jumpstart
> your
> > > developing skills, take BlackBerry mobile applications to market and
> stay
> > > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > > http://p.sf.net/sfu/devconference
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > >  Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > > is the only developer event you need to attend this year. Jumpstart
> your
> > > developing skills, take BlackBerry mobile applications to market and
> stay
> > > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > > http://p.sf.net/sfu/devconference
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> >
> > --
> > < @ " @ >
> >
> >
> ankit..............................................................................................................................................
> >
> >
> .....................................................................................................................................................
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> < @ " @ >
>
> ankit..............................................................................................................................................
>
> .....................................................................................................................................................
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
< @ " @ >
ankit..............................................................................................................................................
.....................................................................................................................................................
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to