[WiX-users] How to assign a default value to preprocessor properties

2010-01-18 Thread Joe Osman
I am using preprocessor properties in my WIX project and I assign them values in msbuild when building the WIX project from the command line . For example I have the following preprocessor properties: Var1=$(Var1);Var2=$(Var2) I assign them values in msbuild in this way: msbuild

[WiX-users] InstallFinalize is executed twice

2011-04-07 Thread Joe Osman
:45:30: InstallFinalize. Action start 17:45:30: InstallFinalize. -- Joe Osman Design Engineer Tait Radio Communications 175 Roydvale Avenue Christchurch New Zealand DDI: 64 3 3571584 www.taitradio.com joe.os...@taitradio.com TAIT: THE RIGHT FIT

[WiX-users] How to assign a self signed certificate to port 443 of website

2011-06-19 Thread Joe Osman
I am generating a self signed certificate during install time using makecert and this certificate is installed into the personal store. My question is how to assign this certificate to port 443 of my website to be used as the SSL certificate. Thank you

[WiX-users] How to pass arguments from a new install to an existing install on product upgrade?

2010-07-29 Thread Joe Osman
that the old install will run a certain custom action before it removes all its files and it will also use the value that it got from the new installer. -- Joe Osman Design Engineer Tait Radio Communications 175 Roydvale Avenue Christchurch New Zealand DDI: 64 3 3571584 www.taitradio.com joe.os

[WiX-users] Does WIX / MSI support product downgrade ?

2010-08-01 Thread Joe Osman
don't have any issues when doing major upgrades and in this case only the newer version remains installed. Does Wix / MSI support product downgrade ? Thank you -- Joe Osman === This email, including any attachments, is only

Re: [WiX-users] Does WIX / MSI support product downgrade - still doesn't work

2010-08-02 Thread Joe Osman
here for more details: http://p.sf.net/sfu/dev2dev-palm ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Joe Osman Design Engineer Tait Radio Communications 175 Roydvale

[WiX-users] How to run custom action on install rollback

2010-08-16 Thread Joe Osman
/InstallExecuteSequence CustomAction Id=DeleteDbBackupFileOnRollback BinaryKey =K1CustomActions.dll DllEntry =DeleteDbBackupFile Return =check Execute=rollback / -- Joe Osman === This email, including any attachments, is only

[WiX-users] Wix 3 to Wix 3.5 : Now the website is not created (IIS7)

2010-11-03 Thread Joe Osman
) [18:24:30:857]: Doing action: WriteIIS7ConfigChanges Action 18:24:30: WriteIIS7ConfigChanges. Installing Config Keys and Values Action start 18:24:30: WriteIIS7ConfigChanges. 1: Installing Config Keys and Values -- Joe Osman Design Engineer Tait Radio Communications 175 Roydvale Avenue

Re: [WiX-users] Wix 3 to Wix 3.5 : Now the website is not created (IIS7)

2010-11-03 Thread Joe Osman
supply more of the log starting with the WriteIIS7ConfigChanges action? Or better yet, open a bug and attach the entire log? -Original Message- From: Joe Osman [mailto:joe.os...@taitradio.com] Sent: Wednesday, November 03, 2010 12:57 PM To: General discussion for Windows Installer XML

[WiX-users] How to schedule a custom action after WriteIIS7ConfigChanges

2010-11-03 Thread Joe Osman
I want to schedule a custom action to execute after WriteIIS7ConfigChanges but my build fails and I get the following error: Error177Unresolved reference to symbol 'WixAction:InstallExecuteSequence/WriteIIS7ConfigChanges' in section 'Product:*'. Here is the code: Custom Action

[WiX-users] Unresolved reference to symbol WixAction:InstallExecuteSequence/WriteIIS7ConfigChanges

2010-11-04 Thread Joe Osman
=SetWebLogFolderProperty After =WriteIIS7ConfigChanges NOT Installed AND NOT UPGRADINGPRODUCTCODE /Custom Thank you -- Joe Osman Design Engineer Tait Radio Communications 175 Roydvale Avenue Christchurch New Zealand DDI: 64 3 3571584 www.taitradio.com joe.os...@taitradio.com TAIT: THE RIGHT FIT

[WiX-users] error LGHT0103: The system cannot find the file '[filename]' with type ''.

2012-02-16 Thread Joe Osman
I am getting Light error 0103 when the full file name length is longer than 195 characters. This is the error (I replaced the real file name with [filename]): error LGHT0103: The system cannot find the file '[filename]' with type ''. No issue when I shorten the name of the build folder so

Re: [WiX-users] error LGHT0103: The system cannot find the file '[filename]' with type ''.

2012-02-16 Thread Joe Osman
consider the environment before printing this e-mail -Original Message- From: Joe Osman [mailto:joe.os...@taitradio.com] Sent: Thursday, February 16, 2012 11:22 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] error LGHT0103: The system cannot find the file '[filename

[WiX-users] Example of installation of a web application

2008-10-29 Thread Joe Osman
Hi, I am looking for an example of installing web application using WIX. Thanks, Joe === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the

[WiX-users] heat.exe : error HEAT0001 : Value cannot be null.

2008-11-06 Thread Joe Osman
I am getting an exception when I try to harvest a website using Heat.exe: heat.exe : error HEAT0001 : Value cannot be null. Parameter name: child Exception Type: System.ArgumentNullException Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Extensions.Serialize.IIs.WebSite.AddCh

[WiX-users] Unresolved reference to symbol 'Directory:Test' in section 'Fragment:

2008-11-09 Thread Joe Osman
I am getting the error message Unresolved reference to symbol 'Directory:Test' in section 'Fragment:'. for the following section: ?xml version=1.0 encoding=utf-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment DirectoryRef Id=Test Component Id=_1.txt

[WiX-users] How to add DirectoryRefId

2008-11-10 Thread Joe Osman
The following output is generated by heat.exe: ?xml version=1.0 encoding=utf-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment Directory Id=Test1 Name=testFiles Component Id=_1.txt Guid={C94E8D76-74B6-4A75-814A-B18D12F2D6D8} File

[WiX-users] Uninstall error :A program required for this install to complete could not be run

2008-11-24 Thread Joe Osman
I am installing a .cmd file and I run it during the installation using a Custom Action. When I run the uninstall I get the following error message: There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support

Re: [WiX-users] Uninstall error:A program required for thisinstallto complete could not be run

2008-11-24 Thread Joe Osman
-- From: Joe Osman [EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 7:20 AM To: General discussion for Windows Installer XMLtoolset. wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall error :A program required for this installto complete could not be run I am

[WiX-users] How to execute custom action only if certain feature is selected

2008-12-04 Thread Joe Osman
I want to execute a certain custom action only if a certain feature is selected. For example I have the following feature: Feature Id=SQLFeature Level=1 ConfigurableDirectory=INSTALLDIR Description=database Title=Database ComponentRef Id=CreateNewFolder/

Re: [WiX-users] How to execute custom action only if certainfeature isselected

2008-12-04 Thread Joe Osman
Thanks I found it: I have to use ![CDATA[SQLFeature=3]] Rob Mensching wrote: MSI SDK has a section on Conditional Statement Syntax that explains this. -Original Message- From: Joe Osman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 18:38 To: General discussion

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-07 Thread Joe Osman
Hi Eitan, How much does it take for your script to run if you use sqlcmd from the command window? Eitan Behar wrote: Hi, I am having a serious performance problem with SQL Scripts, and would appreciate some help troubleshooting it. This is the scenario: Use WIX to create the database, use

[WiX-users] How to display a custom error message?

2008-12-18 Thread Joe Osman
I wan t to show my own error message if a certain custom action fails. How can I do it? Thank you === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and

[WiX-users] Serviceinstall - can I set it in a sequence

2009-01-04 Thread Joe Osman
I want to install a service using the ServiceInstall element but I would like to control the timing of the installation. It is very important to me to install it after a certain custom action. Is there a way to do it ? Thank you

Re: [WiX-users] Generating random password for created user

2009-01-12 Thread Joe Osman
You can use the following vbscript: Function generatePassword() Dim NUMLOWER, NUMUPPER, LOWERBOUND, UPPERBOUND, LOWERBOUND1, UPPERBOUND1, SYMLOWER, SYMUPPER Dim newPassword, count, pwd Dim pCheckComplex, pCheckComplexUp, pCheckComplexLow, pCheckComplexNum, pCheckComplexSym, pCheckAnswer,

[WiX-users] Why Usernames get deleted during minor update?

2009-01-18 Thread Joe Osman
My original wix install creates two user names during the installation. I am currently testing a minor update that I've created and I've noticed that it deletes the two user names. I have no idea why it does it and I will thank you for your help. Below is the section that creates the two user

Re: [WiX-users] Why Usernames get deleted during minor update? - howto skip ConfigureUsers action?

2009-01-19 Thread Joe Osman
Nothing much in the verbose log - ConfigureUsers action starts and it removes the users but it doesn't explain why the users are removed. Is there a way to skip the ConfigureUsers action during a product upgrade? Thanks Bob Arnson wrote: Joe Osman wrote: My original wix install creates

Re: [WiX-users] Why Usernames get deleted during minor update? -how toskip ConfigureUsers action?

2009-01-20 Thread Joe Osman
the removal of the users during the upgrade is to set the User’s attribute RemoveOnUninstall=no. This will force me; off course to run a short script on uninstall to remove these users. Bob Arnson wrote: Joe Osman wrote: Nothing much in the verbose log - ConfigureUsers action starts

[WiX-users] Application pool identity is stuffed up on product upgrade - IIS7.0

2009-01-21 Thread Joe Osman
I am using Wix to create an application pool with an identity of a custom account. When I do a major upgrade the application pool identity is stuffed up although it should remain unchanged. The result is that the application pool is stopped and I get Service Unavailable message when I try to

Re: [WiX-users] Application pool identity is stuffed uponproductupgrade - IIS7.0

2009-01-21 Thread Joe Osman
version scheduled in the upgrade. My guess is that your update is uninstalling and then installing the web pool and when it reinstalls it, it no longer has the identity to use. Michael -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Thursday, 22 January 2009 11

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Joe Osman
I had the same problem and I had to use InstallUtil. When the problem occurred and I was looking for a solution, I found out that other people had the same issue and they all had to use InstallUtil. Chad Petersen wrote: Different Chad here, but another thing I've run into was the service

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Joe Osman
The installUtil is scheduled after the InstallFiles Rob Mensching wrote: Where did you schedule the InstallUtil CustomAction? -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Thursday, January 22, 2009 11:27 To: General discussion for Windows Installer XML

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Joe Osman
- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Thursday, January 22, 2009 14:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problems installing a windows service The installUtil is scheduled after the InstallFiles Rob Mensching wrote

[WiX-users] How to run sqlcmd on uninstall

2009-02-01 Thread Joe Osman
I am trying to run a sqlcmd on uninstall without success. Here is what I am doing: InstallExecuteSequence Custom Action=UninstallTasks After=InstallFilesREMOVE ~= ALL AND (NOT OLDERVERSIONBEINGUPGRADED)/Custom /InstallExecuteSequence Binary Id=RemoveDBSQL SourceFile=deleteUsers.sql/

[WiX-users] Error 2721: Custom action not found in Binary table stream

2009-02-02 Thread Joe Osman
During product uninstall I am trying to execute a file which is stored in the binary table. I am getting the following error message in the verbose log file: DEBUG: Error 2721: Custom action UninstallTasks not found in Binary table stream MSI (s) (30:2C) [13:45:43:591]: Executing op:

[WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-15 Thread Joe Osman
I want to have my database dropped only during uninstall and to do that I am using sql:SqlDatabase element. The problem is that the database is dropped during a major upgrade. How can I prevent it from happening? Here is the command I am using: Component Id=KmfDatabase

[WiX-users] Unresolved reference to symbol CustomAction: UninstallSqldata

2009-02-15 Thread Joe Osman
I am trying to change the execute sequence of the custom action UninstallSqldata but I am getting the following error message: Unresolved reference to symbol CustomAction: UninstallSqldata Does anyone know what am I missing? This is the code: Custom Action=UninstallSqldata

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-15 Thread Joe Osman
Thanks Michael, I am using WIX V3 Michael Osmond wrote: Joe, I don't think you cam do this in WIX V2 (if that's what you using). Michael -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Monday, 16 February 2009 12:14 PM To: General discussion for Windows

Re: [WiX-users] Unresolved reference to symbolCustomAction:UninstallSqldata

2009-02-15 Thread Joe Osman
Solved it It: should be UninstallSqlData (with a capital D) Joe Osman wrote: I am trying to change the execute sequence of the custom action UninstallSqldata but I am getting the following error message: Unresolved reference to symbol CustomAction: UninstallSqldata Does anyone know what am I

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-16 Thread Joe Osman
the database. (I am still on WIX V2 and have a slightly modified version of the SQL Custom Actions). Mihael -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Monday, 16 February 2009 12:14 PM To: General discussion for Windows Installer XMLtoolset. Subject: [WiX-users

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-17 Thread Joe Osman
element (not SQLScript), then it is treated like a formatted MSI string, so the [REMOVE] gets expanded to the REMOVE property before execution. My understanding is that REMOVE is set to ALL for an uninstall. Michael From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent

[WiX-users] How to skip a custom action when feature not selected

2009-02-17 Thread Joe Osman
My installer creates a website during the product installation. I would like to add a feature to the installer to enable the user to skip the website creation and I thought about using something similar to that: Custom Action=ConfigureIIS Overridable=yesNOT Installed AND

Re: [WiX-users] How to skip a custom action when feature notselected

2009-02-17 Thread Joe Osman
/ InstallExecuteSequence Custom Action=SkipIISCA After=CostFinalize![CDATA[NOT MainComponent=3 AND NOT !MainComponent=3]] /Custom /InstallExecuteSequence -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Wednesday, 18

Re: [WiX-users] How to skip a custom action when feature notselected

2009-02-17 Thread Joe Osman
-Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Wednesday, 18 February 2009 12:26 PM To: General discussion for Windows Installer XMLtoolset. Subject: Re: [WiX-users] How to skip a custom action when feature notselected Thanks Michael, it worked ! One question: I

[WiX-users] How to detect that a feature is already installed locally?

2009-02-19 Thread Joe Osman
I am using a condition to install a component only when a certain feature is installed and to uninstall this component if this feature is installed. The component is installed bur doesn't get removed on uninstall but I have no idea why it happens ad the verbose log shows that this feature is

[WiX-users] How to execute SqlString only during a rollback of a product upgrade

2009-02-22 Thread Joe Osman
I would like to execute a SqlString only on a rollback of a product upgrade. In order to that I am trying to set a property to signal if the product is currently being upgraded. I do it using a custom action that is getting executed depending on UPGRADINGPRODUCTCODE. This custom action is

Re: [WiX-users] condition for maintenance mode

2009-02-23 Thread Joe Osman
You can add OR REINSTALLMODE - REINSTALLMODE is set by the installer when the product is reinstalled. I am not sure if it is set when the product is modified but there should be one. You can look at the MSI SDK for more info. ערן גבע wrote: Hi all, I have a custom action (that registers a

[WiX-users] Need help with product upgrade

2009-02-23 Thread Joe Osman
*UPGRADINGPRODUCTCODE* property is set by Windows Installer when an upgrade removes an application. An application determines whether it is being removed by an upgrade or the Add or Remove Programs by checking *UPGRADINGPRODUCTCODE*. Which property is set by installer during the installation

Re: [WiX-users] Uninstall on Windows 2008 Server

2009-02-25 Thread Joe Osman
This shouldn't happen. Our MSI installer run on Windows Server 2008 and creates a database on install and removed it on uninstall and it doesn't stop the service. Can you post your code ? Swandog wrote: Hi: I have an MSI that is stopping the SQL Server service during uninstall on

Re: [WiX-users] Uninstall on Windows 2008 Server

2009-02-25 Thread Joe Osman
Hi Gregory, Can you post the code of your CA that drops the DB? Gregory Swanson wrote: Thanks for the reply Joe. Here is an excerpt from InstallExecuteSequence. I use a CA to drop the databases (ATDropDB), and at the point the CA is executed the service is no longer running. In fact I

[WiX-users] util:User doesn't role back

2009-02-25 Thread Joe Osman
My installer creates a new user and gives it a random password during the install. The installer also installs a service which using this username and its password. During a product upgrade the installer generates a new password for this user and reinstalls the service with a new password.

[WiX-users] How to execute custom action in the end of a product upgrade rollback

2009-02-26 Thread Joe Osman
I want to run a custom action at the end of a rollback of product upgrade. This custom action will change the logon password of an installed service so it should be executed at the end of the rollback after the service from the previous install is rolled back.

[WiX-users] Installation of certificate problem with IIS 7.0

2009-03-03 Thread Joe Osman
I am installing a self signed certificate into the local machine store. When I open the IIS manager and I navigate to Installed Certificates I can't see the certificate there. Here is my code: iis:Certificate Id='TaitCertificate' PFXPassword='[CERTIFICATEPASSWORD]'

Re: [WiX-users] Uninstall conditions! which one should I use?

2009-03-03 Thread Joe Osman
If you look at the verbose log generated on Reinstall you can see that one of the first actions is RemoveExistingProducts and I assume that this action sets the value of REMOVE to be ALL. You should also look at what happens on a major upgrade as the first step of a major upgrade is

[WiX-users] Failed to write data to metabase key. (-2147023584 /LM/W3SVC/1/ )

2009-03-04 Thread Joe Osman
I am trying to assign a certificate to a website during the installation and I am getting the error: Failed to write data to metabase key. (-2147023584 /LM/W3SVC/1/ ) I've tried the following versions of WIX: 3.0.5027.0, 3.0.4805.0, 3.0.4513.0 and I get the same error with any version.

[WiX-users] [Fwd: Failed to write data to metabase key.(-2147023584/LM/W3SVC/1/ )]

2009-03-04 Thread Joe Osman
I am using Windows Server 2008 and IIS 7.0 === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of

[WiX-users] Error message when installing certificate - is this a WIX bug ?

2009-03-05 Thread Joe Osman
I am installing a certificate to the root certificate authority as well as adding the same certificate to the IIS Server. During the installation I get the error: Failed to write data to metabase key. (-2147023584 /LM/W3SVC/1/ ) I am using WIX3.0 on Windows server 2008 , IIS 7.0 The

Re: [WiX-users] [Fwd: Failed to write data tometabasekey.(-2147023584/LM/W3SVC/1/ )]

2009-03-08 Thread Joe Osman
Yes all the IIS 6.0 metabase compatibility options are checked. Luke Bakken wrote: On Wed, Mar 4, 2009 at 8:04 PM, Joe Osman joe.os...@tait.co.nz wrote: I am using Windows Server 2008 and IIS 7.0 Just as a double-check, you have every IIS 6.0 metabase compatibility options checked

Re: [WiX-users] [Fwd: Failed to writedatatometabasekey.(-2147023584/LM/W3SVC/1/ )]

2009-03-08 Thread Joe Osman
I can deploy the certificate when I use the IIS Resources: SelfSSL and IISCertDeploy.vbs so it looks like a WIX issue to me. Joe Osman wrote: Yes all the IIS 6.0 metabase compatibility options are checked. Luke Bakken wrote: On Wed, Mar 4, 2009 at 8:04 PM, Joe Osman joe.os...@tait.co.nz

Re: [WiX-users] [Fwd: Failedtowritedatatometabasekey.(-2147023584/LM/W3SVC/1/ )]

2009-03-08 Thread Joe Osman
It look like that there is already an open bug on this issue: [ 2580643 ] IIS7: secure WebAddress causes install to fail Joe Osman wrote: I can deploy the certificate when I use the IIS Resources: SelfSSL and IISCertDeploy.vbs so it looks like a WIX issue to me. Joe Osman wrote: Yes all

Re: [WiX-users] [Fwd:Failedtowritedatatometabasekey.(-2147023584/LM/W3SVC/1/ )]

2009-03-09 Thread Joe Osman
Bob Arnson wrote: Joe Osman wrote: It look like that there is already an open bug on this issue: [ 2580643 ] IIS7: secure WebAddress causes install to fail Please include the verbose log that Mike requested

[WiX-users] Service Install doesn't work when the component keypath is used

2009-04-06 Thread Joe Osman
I've tried to install a .NET service using the ServiceInstall element but didn't succeed when I've used the keypath attribute of the component. When I used the keypath attribute of the file and not the component the service was installed successfully. Is this a bug ? Here is the code (when

[WiX-users] How to create custom even channel (under Applications and ServicesLogs)

2009-04-16 Thread Joe Osman
I am installing a .NET service using the ServiceInstall element and I want to log all the events of that service to a custom event channel. In Windows Server 2008 and Windows Vista an application can create a custom event channel under Applications and Services Logs in the event viewer. I