[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 name 
installed.

Thanks, Petr 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 the MSI package through elevated Command Prompt or via
setup.exe generated by .NET bootstrapper.

BTW there is similar (unresolved) question:
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg14247.html

Thanks,
Petr


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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.

Thanks, Petr



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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.

Thanks, Petr 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 setup.exe etc).

I'm aware it is a bit OT here but haven't found anything useful about it.

Thanks, Petr 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 Metabase Keys and Values with error:

MSI (s) (C4:EC) [23:59:19:106]: Executing op: 
CustomActionSchedule(Action=WriteMetabaseChanges 
MSI (s) (C4:60) [23:59:19:116]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI66D.tmp, Entrypoint: WriteMetabaseChanges
WriteMetabaseChanges:  Error 0x80070005: failed to get IID_IWamAdmin object
Error 26001. Cannot connect to Internet Information Server. 
24891 )
MSI (s) (C4!D4) [23:59:27:667]: Product: XXX -- Error 26001. Cannot connect 
to Internet Information Server.  (-2147024891 )
Action ended 23:59:27: InstallFinalize. Return value 3.

Petr 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 administrator privilege to be installed.

Would be possible to run such installation under non-administrator account ? 
It seems as there are problems with IIS metabase permissions. I was asked to 
create a special Installation account to perform the installation. Another 
issue is to allow run MSI Installer for non-administrator user, but there is 
a registry settings for it.

Thanks, Petr 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 corresponding error 
message ? I tried to use the action value as a condition without a luck.

Petr

BTW The email archive page on sf.net got stuck. I can see latest message 
from 2006-10-02 06:34. 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 bar.

Thanks, Petr 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 folder)
- The administrator logs off
- An user logs on (under restricted account) and use the application

The application (running under restricted user account) checks for a web
update. If there is an update it must be able to update application files in
ProgramFiles folder without logging as an administrator. But the user does
not have write access to the ProgramFiles folder. Only files will be updated 
(that's mean no registry access etc. is required).

Can MSI installer (which is running as a service) do this ?

Thanks, Petr


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 perform an action after InstallFinalize, at least to use NET START 
command or so ?

Petr 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 SharedDllRefCount=yes for GAC
file Component. All I want is to completely remove version 1.0 and install 
version 1.1 of the product.

Maybe it has something to do with RemoveExistingProducts scheduling, I 
currently use After=InstallInitialize.

Petr 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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.tramontana.co.hu/wix/lesson4.php

I don't need to patch or upgrade some files but remove older version at all. 
Also it must work by clicking on the .msi file only, no additional 
command-line parameters. I've seen such .msi installations so it is possible 
for sure.

Thanks, Petr 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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
 BootstrapperPackage to the ItemGroup.  Just save that to a file and
 do:

Thanks, this is exactly what I need except one problem. It seems to work if
Visual Studio 2005 is installed only. I would like to have something I could
run on a build server with .NET Framework SDK (or Visual C# Express) only.

Petr


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 no bootstrapper for WiX yet my idea is to create an empty 
Setup Project in VS2005 to have the bootstrapper configuration and then 
overwrite original .msi file by my setup (with the same filename) generated 
by WiX.

Is such scenario possible ? IOW aren't there any other dependencies or 
requirements for the .msi file generated by the Setup Project I couldn't
do by WiX (I prefer to use stable version 2.0) ?

Thanks, Petr 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users