[WiX-users] Prevent to call SqlScripts of older version when doing major upgrade

2008-02-25 Thread Petr Vones
Hi, is there a way to prevent all SQL scripts called on product uninstall when doing a major upgrade to new version ? I can not change the older version MSI. I would like to solve it in the new version. I have tried to comment out Upgrade element but it results in two products with the same nam

[WiX-users] SqlScript and Vista elevated privileges

2008-02-09 Thread Petr Vones
Hi, Is there any way to run a SqlScript under elevated user on Vista ? I know there is a way for a custom action but I'd like to use built-in SqlDatabase and SqlScript elements. It seems as there is an Impersonate attribute missing for SqlDatabase element. I use Wix version 2. I'm able to install

[WiX-users] Sequencing SqlDatabase and ServiceControl

2007-11-26 Thread Petr Vones
Hi, I have to change SQL Express authentification during setup to Mixed mode, create new user and new database for this user. It requires to restart the server to change the mode. How can I sequence multiple SqlDatabase and SqlScript commands and the service restart in between ? I use Wix 2.0.

[WiX-users] Is possible to install IIS as part of MSI setup ?

2007-02-14 Thread Petr Vones
Hi, I know it is strange requirement (customers ... you know :-) but I'd like to be sure that it is not possible to install IIS (Windows Server 2003 or 2000) as a part of MSI setup. I know that "installing" IIS means rather "changing the system configuration" but it might be scriptable somehow.

[WiX-users] MSBuild generated bootstrapper and quiet mode

2007-01-03 Thread Petr Vones
Hi, I use msbuild to generate standard bootstrapper (using GenerateBootstrapper element) which produces setup.exe and several depended folders with selected prereqesites. My question is whether I can run the setup.exe in a "quiet" mode with no UI interaction (license dialogs displayed by the s

Re: [WiX-users] Installing IIS applications under non-Admin account ?

2006-11-18 Thread Petr Vones
From: "Bob Arnson" <[EMAIL PROTECTED]> > Not with the current IIS CAs. They use Admin Base Objects which require > elevated rights. I tried to add the "Install" user (member of Power Users) everywhere using IIS 6.0 Metabase Explorer. Some of IIS CAs went through but I got stuck at "Installing M

[WiX-users] Installing IIS applications under non-Admin account ?

2006-11-17 Thread Petr Vones
Hi, I have an installation containing several ASP.NET 2.0 applications. I use following elements in the MSI package: WebApplication WebAppPool WebDirProperties WebSite WebVirtualDir The installation is designed for Windows Server 2003 SP1 (thus IIS6) created by Wix 2.0. Currently it needs an a

Re: [WiX-users] Displaying status text for CAQuietExec action ?

2006-10-05 Thread Petr Vones
From: "Bob Arnson" <[EMAIL PROTECTED]> > Use the ProgressText element to add a row to the ActionText table. Note Thanks, this is exactly what I was looking for. And another related question. I have multiple deferred CAQuietExec actions. Is possible detect which of them had failed and display cor

[WiX-users] Displaying status text for CAQuietExec action ?

2006-10-02 Thread Petr Vones
Hi, Is there any way to display status text next to the "Status:" label just before a CAQuietExec action is started ? It looks misleading when an action takes a long time while the dialog displays nothing (someone could think the installation is locked up). I don't need to update the progress b

[WiX-users] Automatic updating an MSI installation under restricted user account

2006-09-14 Thread Petr Vones
Hi, what is the recommended way of updating/patching existing installation running the application under restricted user account only ? I don't have any experiences with it. The scenario is: - First version of the product is standard MSI package installed by an administrator (to ProgramFiles fol

Re: [WiX-users] Starting .NET service depending on assembly installed to GAC

2006-09-12 Thread Petr Vones
From: "Rob Mensching" <[EMAIL PROTECTED]> > It's a MSI design decision that makes sense when you consider the way that > Fusion works (BTW, Fusion design frustrates me to no end). I have found another problem with GAC. Doing a full product update results in no files installed into the GAC. I use

Re: [WiX-users] Starting .NET service depending on assembly installed to GAC

2006-09-12 Thread Petr Vones
From: "Rob Mensching" <[EMAIL PROTECTED]> > It's a MSI design decision that makes sense when you consider the way that > Fusion works (BTW, Fusion design frustrates me to no end). Ok, thanks. Fortunately I managed to run "command /c net start MyService" after InstallFinalize which is sufficient.

Re: [WiX-users] Starting .NET service depending on assembly installed to GAC

2006-09-12 Thread Petr Vones
From: "Bob Arnson" <[EMAIL PROTECTED]> > Not really. MSI hands off assemblies to Fusion, which commits them during > InstallFinalize. The assemblies aren't available before then. Is that general problem of MSI or just WiX ? Seems to be a showstopper issue to me to continue using WiX :-/ Can I p

[WiX-users] Starting .NET service depending on assembly installed to GAC

2006-09-11 Thread Petr Vones
Hi, I have problem with automatic start of a .NET service which depends on an assembly which is installed into the GAC. It seems as the GAC installation is not finished when the installer is trying to start the service (getting FileNotFoundException). Is there any solution ? Thanks, Petr -

[WiX-users] How to remove any older installed version of the same product

2006-08-25 Thread Petr Vones
How can I completely remove any older version of the product during installation of new version ? Currently I'm always getting: "Another version of this product is already installed ... use Add/Remove ..." error dialog. I know about this article but it does not seem to resolve it: http://www.tra

Re: [WiX-users] WiX and SQL Server 2005 Express installation

2006-08-14 Thread Petr Vones
From: "John Vottero" <[EMAIL PROTECTED]> > The following is a sample pulled from our msbuild project, it doesn't > install SQL Express but it could if you added another > to the . Just save that to a file and > do: Thanks, this is exactly what I need except one problem. It seems to work if Visua

[WiX-users] WiX and SQL Server 2005 Express installation

2006-08-08 Thread Petr Vones
Hi, I have to install MS SQL 2005 Express as part of my installation. I know the best (and probably the only) way is to use a bootstrapper. The one in VS2005 Setup Project seems to be good (allows to include .NET 2.0 Framework and Windows Installer 3.1 on the installation CD). Since there is n