[WiX-users] Assembly file versions in wixlibs

2008-07-04 Thread Neil Sleightholm
I am creating a wixlib that contains some components that go in the GAC,
because the assembly version stays the same but the file version changes
I need to use the light option "-fv" to get them to install. Is there
any way to embed the assembly file versions in the wixlib so that I
don't have to rely on the consumer of the wixlib setting the "-fv"
option?

 

Neil

 

P.S. Personally I think "-fv" should be on by default, it is too
confusing to explain to someone why an assembly isn't being overritten
in the GAC and I can't see any penalty for using it.

 

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]  

 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] General Merge Module Questions

2008-07-04 Thread Chris Mumford
OK, so you're talking about this page
http://msdn.microsoft.com/en-us/library/aa370530(VS.85).aspx. Thanks for the
info.

On Fri, Jul 4, 2008 at 4:17 AM, Rob Mensching <[EMAIL PROTECTED]>
wrote:

> Mean by what?  Modularization?  Modularization is the process of adding the
> Module Guid as a ".G_U_I_D" to the end of all the primary key identifiers in
> the MSI.  The MSI SDK talks about this process in detail.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Chris Mumford
> Sent: Thursday, July 03, 2008 16:36
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] General Merge Module Questions
>
> Hey Rob, could you elaborate on what you mean by that? Have you already
> discussed this elsewhere?
>
> On Thu, Jun 26, 2008 at 5:36 PM, Rob Mensching <
> [EMAIL PROTECTED]>
> wrote:
>
> > Correct, .wixlibs won't help you there.  Unfrotunately, that means you're
> > stuck fighting with the Modularization of identities to get things to all
> > line up.
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:
> > [EMAIL PROTECTED] On Behalf Of Christopher Karper
> > Sent: Thursday, June 26, 2008 15:28
> > To: General discussion for Windows Installer XML toolset.
> >  Subject: Re: [WiX-users] General Merge Module Questions
> >
> > But the other installations are built with InstallShield.   They won't
> work
> > with .wixlibs, will they?
> >
> > On Thu, Jun 26, 2008 at 6:01 PM, Rob Mensching <
> > [EMAIL PROTECTED]>
> > wrote:
> >
> > > I would recommend .wixlibs instead of .msm files (unless you have share
> > > your Merge Modules with people that don't use WiX).  .wixlibs are far
> > more
> > > flexible than Merge Modules.
> > >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:
> > > [EMAIL PROTECTED] On Behalf Of Christopher
> Karper
> > > Sent: Thursday, June 26, 2008 13:59
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: [WiX-users] General Merge Module Questions
> > >
> > > OK, I am redoing some of my installations to be in merge modules.  Now,
> I
> > > have no idea what I'm doing, so it's kind of learn as I go.  I'm stuck
> in
> > a
> > > few spots, and was hoping someone out here would be kind enough to help
> > me.
> > > :-)
> > >
> > > I am installing a .NET web application, which is why this gets
> > complicated.
> > >
> > >
> > > * I have all the files to install.  This was pretty straightforward.
> > > * I have some config changes to apply.  I had this working in the .msi,
> > but
> > > does the module have access to the public properties the containing MSI
> > > will
> > > have?  Is this the preferred method of getting data, or is there some
> > > mechanism for explicitly passing the information?  (something like
> > > CustomActionData for CAs)
> > > * I need to set up IIS properly.  This gets complicated since I want to
> > > allow a choice for a web site, or a virtual directory installation.
> >  Also,
> > > different versions of IIS are configured differently.   I don't mind
> > having
> > > a complicated set of conditions in my MSM, I just want to avoid making
> an
> > > MSM for each of these conditions.  Is this possible?
> > > * I am using the ASP.NET   built in
> Membership
>  > providers, so I need to
> > > either
> > > run aspnet_config.exe, or directly run the SQL script against the
> > > datasource.  Is it possible to test for the existence of this database
> > > before running either of these?
> > >
> > > Thanks in advance for any assistance...  I'll take help for any or all
> of
> > > these questions.:-)
> > >
> > > Chris
> > >
> -
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> -
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > -
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > ___
> > WiX-users mailing list
> > WiX-users@lists.s

[WiX-users] MSXML4 SP1 merge module error

2008-07-04 Thread Scott Palmer
Resending since the original didn't appear on the list after two days...

-- Forwarded message --

I need to include MS SOAP in my installer via three merge modules provided
by Microsoft:
isapi3_files.msm
soap3_core.msm
winhttp51.msm

They in turn depending on MS XML4 SP1.. of which I have two merge modules,
also from Microsoft:
msxml4sxs32.msm
msxml4sys32.msm

As it happened I was missing the XML merge modules and my installer would
run fine, but we had some issues parsing SOAP responses.  When I added the
XML merge modules my installer can no longer install.  very near the end of
installing it fails with the following error message:

An error occurred during the installation of assembly
'Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",type="win32",version="4.20.9818.0",processorArchitecture="x86"'.
Please refer to Help and Support for more information. HRESULT: 0x80070003.


The log file shows:

...
MSI (s) (78:50) [16:32:47:524]: Executing op:
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=413225981)
MSI (s) (78:50) [16:32:47:571]: Assembly Error:The system cannot find the
path specified.

MSI (s) (78:50) [16:32:47:571]: Note: 1: 1935 2:
{303994BA-6487-47AE-AF1D-7AF6088EEBDB} 3: 0x80070003 4: IAssemblyCacheItem
5: Commit 6:
Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",type="win32",version="4.20.9818.0",processorArchitecture="x86"

Error 1935. An error occurred during the installation of assembly
'Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",type="win32",version="4.20.9818.0",processorArchitecture="x86"'.
Please refer to Help and Support for more information. HRESULT: 0x80070003.
assembly interface: IAssemblyCacheItem, function: Commit, component:
{303994BA-6487-47AE-AF1D-7AF6088EEBDB}
MSI (s) (78:50) [16:33:09:946]: Product: MyProduct -- Error 1935. An error
occurred during the installation of assembly
'Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",type="win32",version="4.20.9818.0",processorArchitecture="x86"'.
Please refer to Help and Support for more information. HRESULT: 0x80070003.
assembly interface: IAssemblyCacheItem, function: Commit, component:
{303994BA-6487-47AE-AF1D-7AF6088EEBDB}

Action ended 16:33:09: InstallFinalize. Return value 3.
...
followed by a rollback

I don't get it.  Does anyone have some ideas?


Scott
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Run rollback custom action with elevated privileges

2008-07-04 Thread Anidil

Hello there

As per my understanding,to add a custom action to the roll back
script,inside the CA, we need to change Execute="rollback".If we do this,
how do i make it launch with elevated privilege?

thanks
Anidil
-- 
View this message in context: 
http://www.nabble.com/Run-rollback-custom-action-with-elevated-privileges-tp18278493p18278493.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing different files depending on ComputerName (Wix 2)

2008-07-04 Thread Nicholas Piper
I'm trying to write a WiX based installer for a set of Apache
configuration.

I wrote a VBScript Custom Action that is run after InstallFiles/commit
in order to 'token replace' the httpd.conf, so we can customise that
at install time based on properties. I'm probably going to try and get
it to use a different properties.txt files depending on ComputerName
or another single property.

One part I don't see a clean way for yet is installing the SSL
certificates. Production/test/development/etc. etc. will all use a
different certificate. I'd like to include
test/development/etc. certificates in the MSI file, and have the one
installed be based on ComputerName. I'd also like the MSI to be able
to use one placed into the current working directory, or use a dialog
to ask for a path to it, etc.

What is the best practice for WiX 2 here? Can we get the cabinet file
to pack all the certificates, then use a transform to change which is
installed? Maybe a VBScript which uses a function of ComputerName to
help select which set?

Many thanks for any pointers!

Regards,

 Nick

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] General Merge Module Questions

2008-07-04 Thread Rob Mensching
Mean by what?  Modularization?  Modularization is the process of adding the 
Module Guid as a ".G_U_I_D" to the end of all the primary key identifiers in 
the MSI.  The MSI SDK talks about this process in detail.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Mumford
Sent: Thursday, July 03, 2008 16:36
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] General Merge Module Questions

Hey Rob, could you elaborate on what you mean by that? Have you already
discussed this elsewhere?

On Thu, Jun 26, 2008 at 5:36 PM, Rob Mensching <[EMAIL PROTECTED]>
wrote:

> Correct, .wixlibs won't help you there.  Unfrotunately, that means you're
> stuck fighting with the Modularization of identities to get things to all
> line up.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Christopher Karper
> Sent: Thursday, June 26, 2008 15:28
> To: General discussion for Windows Installer XML toolset.
>  Subject: Re: [WiX-users] General Merge Module Questions
>
> But the other installations are built with InstallShield.   They won't work
> with .wixlibs, will they?
>
> On Thu, Jun 26, 2008 at 6:01 PM, Rob Mensching <
> [EMAIL PROTECTED]>
> wrote:
>
> > I would recommend .wixlibs instead of .msm files (unless you have share
> > your Merge Modules with people that don't use WiX).  .wixlibs are far
> more
> > flexible than Merge Modules.
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:
> > [EMAIL PROTECTED] On Behalf Of Christopher Karper
> > Sent: Thursday, June 26, 2008 13:59
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] General Merge Module Questions
> >
> > OK, I am redoing some of my installations to be in merge modules.  Now, I
> > have no idea what I'm doing, so it's kind of learn as I go.  I'm stuck in
> a
> > few spots, and was hoping someone out here would be kind enough to help
> me.
> > :-)
> >
> > I am installing a .NET web application, which is why this gets
> complicated.
> >
> >
> > * I have all the files to install.  This was pretty straightforward.
> > * I have some config changes to apply.  I had this working in the .msi,
> but
> > does the module have access to the public properties the containing MSI
> > will
> > have?  Is this the preferred method of getting data, or is there some
> > mechanism for explicitly passing the information?  (something like
> > CustomActionData for CAs)
> > * I need to set up IIS properly.  This gets complicated since I want to
> > allow a choice for a web site, or a virtual directory installation.
>  Also,
> > different versions of IIS are configured differently.   I don't mind
> having
> > a complicated set of conditions in my MSM, I just want to avoid making an
> > MSM for each of these conditions.  Is this possible?
> > * I am using the ASP.NET  built in Membership
> providers, so I need to
> > either
> > run aspnet_config.exe, or directly run the SQL script against the
> > datasource.  Is it possible to test for the existence of this database
> > before running either of these?
> >
> > Thanks in advance for any assistance...  I'll take help for any or all of
> > these questions.:-)
> >
> > Chris
> > -
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > -
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://list

[WiX-users] Calling a custom action from a push button

2008-07-04 Thread Lamb, Andrew
Hi All,

 

I'm new to WiX, so the answer to this may be fairly trivial:

 

I have created a dll with a method in it to validate that the sql
details on the current UI form are valid. 

 

I have added a button "Test", with the idea that the following will
occur:

user clicks test

the method in the dll is called, it sets a MSI variable "SQLCONNECTOK"
to either 1 or 0, 

The next button is enabled/disable dependant on whether the SQLCONNECTOK
value is 1 or 0.

 

The thing is I don't know how to call this method via the button click.

 

I have the following XML:

 



  













  





  

























  

  

  

  



  

  

  



  







  1



  

 

Any help would be greatly appreciated, and apologies if this has been
answered in other posts, I just couldn't find it...

 

Thanks

 

Andrew 

 

 


If you've received this email by mistake, we're sorry for bothering you. It may 
contain information that's confidential, so please delete it without sharing 
it. And if you let us know, we can try to stop it from happening again. Thank 
you. 

We may monitor any emails sent or received by us, or on our behalf. If we do, 
this will be in line with relevant law and our own policies.

Sage (UK) Limited. Registered in England at North Park, Newcastle upon Tyne, 
NE13 9AA. Registered number 1045967.
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users