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
: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
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
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
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
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
/InstallExecuteSequence
CustomAction Id=DeleteDbBackupFileOnRollback BinaryKey
=K1CustomActions.dll DllEntry =DeleteDbBackupFile Return =check
Execute=rollback /
--
Joe Osman
===
This email, including any attachments, is only
) [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
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
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
=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
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
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
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
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
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
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
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
--
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
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/
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
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
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
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
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,
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
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
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
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
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
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
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
-
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
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/
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:
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
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
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
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
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
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
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
/
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
-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
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
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
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
*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
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
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
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.
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.
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]'
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
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.
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
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
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
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
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
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
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
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
63 matches
Mail list logo