[WiX-users] Upgrade problem

2007-05-23 Thread Voranc Kutnik
Hello! I have a question about upgrading my application. My original installation script (msi) does a lot of things: - copy many files (.dll, .aspx, .config,...) into directories - creates virtual directories (virtual directory name is entered in msi dialog) - creates database on SQL Server (data

Re: [WiX-users] Adding records to MSI on the fly

2007-03-27 Thread Voranc Kutnik
Hello! I also have a problem with populating combobox with web sites and later use selected web site for creating virtual directory. Should my VB script have two functions: GetWebSites() and PopulateMSIWebSiteProperties()? Function GetWebSites populates combobox and function PopulateMSIWebSitePr

[WiX-users] Creating virtual directory on default web site

2007-03-26 Thread Voranc Kutnik
Hello! My installation script creates virtual directory on default web site: ... ... ... If default web site is running on port 80, everything is OK. The problem is when default web site is not running on port 80 (i.e. 81). I get error "Failed to read IIsWebs table". How can I create a vir

[WiX-users] Creation of Setup.exe

2006-08-25 Thread Voranc Kutnik
Hello!creationI created minor upgrade for my software. Upgrade should be run like this:msiexec /i MyInstall.msi REINSTALL=ALL REINSTALLMODE=vomusHow can I create Setup.exe that will execute line described above? Thanks,Voranc -

Re: [WiX-users] Delete Virtual Directory

2006-08-25 Thread Voranc Kutnik
Hello!Virtual directories are not deleted by default on uninstall. The problem is that uninstaller don't know the name of virtual directory that needs to be removed. So, you have to save virtual directory name into registry on install, so that it is available on uninstall. Here is a sample: ...

[WiX-users] Creating patch if UpgradeCode is missing

2006-07-24 Thread Voranc Kutnik
Hello!I need to create a patch script that will update a product. The problem is that product was already installed with msi script that has no "UpgradeCode" in element .Is it possible to create a patch if element in installation msi script is missing attribute "UpgradeCode"? How? Thanks,Voranc --

[WiX-users] Check if connection string to database is valid

2006-06-27 Thread Voranc Kutnik
Hello!I have an installation that installs a client, which needs a database  (on SQL Server) to be operational. So, one of the data that user must enter is the connection string to this database. This connection string is than written in config.file and a client use this connection string to conne

Re: [WiX-users] Remove folder while uninstalling application

2006-06-27 Thread Voranc Kutnik
ty risk. >   > As an answer to your problem, you may be interested in the RemoveFile> element, as documented here: >   > http://wix.sourceforge.net/manual-wix2/wix_xsd_removefile.htm>   > I hope that answers your question, if not, feel free to come back to this> list. >   &

[WiX-users] Remove folder while uninstalling application

2006-06-26 Thread Voranc Kutnik
Hello! My installation create some folders on disk. For instance: - dir1 - dir1.1 - dir1.2 - dir1.2.1 - dir1.3 ... While using my application some (temp files with random names) files are created in directory "dir1.2.1". The problem is that while uninstalling application direc

Re: [WiX-users] Reading XML file

2006-06-01 Thread Voranc Kutnik
could possibly pass the xml text into a Property and then use the property in the SqlString command. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Voranc Kutnik Sent: Thursday, 1 June 2006 12:38 AM To: wix-users@lists.sourceforge.net Subject: [WiX