Re: [WiX-users] Another version of this product is already installed

2011-06-22 Thread Alexander Shevchuk (Volt)
Martin, Package ID should always be different. That's why it is set to '*'. For major upgrade to work, you need to change product id and version (version in MSI is first 3 fields. If two versions have the same first 3 fields and differ only in the fourth field, as far as MSI concerned -

Re: [WiX-users] Are there any known problems with XPath expressions in XmlFile custom action?

2011-02-08 Thread Alexander Shevchuk (Volt)
Try to set SelectionLanguage attribute to XPath. From the doc on XmlFile: Specify whether the DOM object should use XPath language or the old XSLPattern language (*default*) as the query language. Alex -Original Message- From: Jamie Thomson [mailto:ja...@jamie-thomson.net] Sent:

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Alexander Shevchuk (Volt)
Kevin Burton wrote: So what does it mean to have DesktopFolder underneath the TARGETDIR. That is certainly not the hierarchy that is on my computer. Kevin, Let me try to explain this one. Think of it as default directory hierarchy with possibility to override default entirely or partially.

Re: [WiX-users] obtaining a features install state

2010-12-27 Thread Alexander Shevchuk (Volt)
Combination of: http://blogs.technet.com/b/alexshev/archive/2008/02/14/from-msi-to-wix-part-6-customizing-installation-using-custom-tables.aspx and http://blogs.technet.com/b/alexshev/archive/2008/07/01/from-msi-to-wix-part-19-the-art-of-custom-action-part-1.aspx Should give you an idea on how

Re: [WiX-users] XMLFile

2010-06-17 Thread Alexander Shevchuk (Volt)
Hi Carolina, Your XPath looks fine. You need to show your XML. Include Configuration element and its parents in the xml file. Do you have something like: DTSConfiguration ... Configuration ... /Configuration ... /DTSConfiguration -Original Message- From: Carolina

Re: [WiX-users] XMLFile

2010-06-17 Thread Alexander Shevchuk (Volt)
Add SelectionLanguage attribute to your Util:XmlFile element: Util:XmlFile ... SelectionLanguage=XPath / -Original Message- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Thursday, June 17, 2010 3:20 PM To: General discussion for Windows Installer XML

Re: [WiX-users] XMLFile

2010-06-15 Thread Alexander Shevchuk (Volt)
Your XML is malformed: ConfiguredValue\\convs07\Historicalfile:///\\convs07\Historical Integration\DataFarm\WIT\Files\/ConfiguredValue Should be either: ConfiguredValue![CDATA[\\convs07\Historicalfile:///\\convs07\Historical Integration\DataFarm\WIT\Files\]]/ConfiguredValue Or

Re: [WiX-users] Accessing Custom Table

2010-05-14 Thread Alexander Shevchuk (Volt)
That was my first thought too, but according to MSDN (http://msdn.microsoft.com/en-us/library/aa372021(VS.85).aspx): A {column-list} is a comma-delimited list of one or more table columns referred to as {column} selected. Ambiguous columns may be further qualified as {tablename.column}. An

Re: [WiX-users] User Identifier Windows

2010-05-14 Thread Alexander Shevchuk (Volt)
You mean LogonUser (http://msdn.microsoft.com/en-us/library/aa369780(v=VS.85).aspx) or something else? -Original Message- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Friday, May 14, 2010 12:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users]

Re: [WiX-users] Custom Action

2010-05-11 Thread Alexander Shevchuk (Volt)
Looks like this command requires admin privileges. Try changing your CA to be deferred and run it before InstallFinalize. -Original Message- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Tuesday, May 11, 2010 9:06 AM To: 'General discussion for Windows

Re: [WiX-users] How to NOT Delete Application Directory on Uninstall?

2010-05-07 Thread Alexander Shevchuk (Volt)
Hi Joseph, Let's first make sure we use correct terminology. Wix is a tool to create MSI installers. MSI installer installs, upgrades and uninstalls products and while doing that, it also creates/deletes folders among numerous other things. One thing you can use to solve your problem is the

Re: [WiX-users] can't find file in non-cab media

2010-05-04 Thread Alexander Shevchuk (Volt)
Hi Matt, I have some information (old because it covers WiX 2.0, but your problem is more of MSI-related issue) in http://blogs.technet.com/alexshev/archive/2008/04/04/from-msi-to-wix-part-16-installable-items-handling-installation-media.aspx I am not 100% sure, don't have time to test it, but

Re: [WiX-users] Creating a shortcut : using shell32 common icons ?

2010-05-04 Thread Alexander Shevchuk (Volt)
I don't think MSI supports that. See definition of the Icon table (http://msdn.microsoft.com/en-us/library/aa369210(v=VS.85).aspx) -Original Message- From: Sylvain Petreolle [mailto:sylv...@mhzwireless.com] Sent: Tuesday, May 04, 2010 3:26 AM To: Wix-Users Subject: [WiX-users]

Re: [WiX-users] can't find file in non-cab media

2010-05-04 Thread Alexander Shevchuk (Volt)
, and File/@Compressed=no on just my one external file. I guess it only works in one direction. Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.timeamerica.com -Original Message- From: Alexander Shevchuk (Volt) [mailto:a

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-29 Thread Alexander Shevchuk (Volt)
http://en.wikipedia.org/wiki/ComSpec -Original Message- From: jeff00seattle [mailto:jeff_tan...@earthlink.net] Sent: Thursday, April 29, 2010 12:03 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Program Menu: Target shortcut is a Directory Thanks for the reply I

Re: [WiX-users] VSIX after installation?

2010-04-28 Thread Alexander Shevchuk (Volt)
Seems like there is special procedure to do that: http://msdn.microsoft.com/en-us/library/ee332502.aspx Also, documentation is saying that in order to install templates using .vsix, target system has to have SDK or Visual Studio installed. As far as WiX code validity, CA declaration looks

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread Alexander Shevchuk (Volt)
In http://blogs.technet.com/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-shortcuts.aspx search for Special case - Starting application in the command window, change: Arguments='/k [!ConsoleApp.exe]' To: Arguments='/k' That will open command window in the folder of your choice. Good

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread Alexander Shevchuk (Volt)
Hi Jeff, Let's step back and take a closer look at your code below. Normally we start directory structure like this: Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=MYAPPLICATIONFOLDER Name=MyProduct ... /Directory /Directory /Directory By

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread Alexander Shevchuk (Volt)
Target must be this: Target='[%ComSpec]' -Original Message- From: jeff00seattle [mailto:jeff_tan...@earthlink.net] Sent: Tuesday, April 27, 2010 5:02 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Program Menu: Target shortcut is a Directory Addendum: I have

Re: [WiX-users] A couple of Wix 2.0 questions

2010-04-21 Thread Alexander Shevchuk (Volt)
Hi Mark, MSI packages support three top level actions. Which one of them will be run depends on the switch we pass to the msiexec utility (I will omit for now MSI API calls) and that also will determine which sequence tables will be used during install. So, when /i switch is passed, MSI will

Re: [WiX-users] Shortcut is not using specified icon

2010-04-08 Thread Alexander Shevchuk (Volt)
Hi Markus, The Source (http://msdn.microsoft.com/en-us/library/aa369210) is saying: Icon files that are associated strictly with file name extensions or CLSIDs can have any extension, such as .ico. However, Icon files that are associated with shortcuts must be in the EXE binary format and must

Re: [WiX-users] File copying issue

2010-04-07 Thread Alexander Shevchuk (Volt)
http://blogs.technet.com/alexshev/archive/2008/03/25/property-does-not-exist-or-empty-when-accessed-from-deferred-custom-action.aspx -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Wednesday, April 07, 2010 1:29 AM To: General discussion for Windows

Re: [WiX-users] version upgrade problem

2010-04-05 Thread Alexander Shevchuk (Volt)
Hi Sanjay, Do you have RemoveExistingProducts scheduled? Alex -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Monday, April 05, 2010 12:06 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] version upgrade problem Hi

Re: [WiX-users] Install external program from CDROM drive

2009-12-28 Thread Alexander Shevchuk (Volt)
:\ drive (CD ROM Drive). If it does then half problem is solved. Yes, I wish bootstrapper - I do have it but got to remove it, well requirements are that we need to install items on demand based on user selection. Arun Perregattur -Original Message- From: Alexander Shevchuk (Volt

Re: [WiX-users] SqlString is Name a keyword?

2009-12-07 Thread Alexander Shevchuk (Volt)
Hi Steve, I guess, SQL attribute is a Formatted string. Try to escape [ and ]: [\[] And [\]] Alex -Original Message- From: Steve Braswell [mailto:sbrasw...@informasoftware.com] Sent: Monday, December 07, 2009 1:12 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users]

Re: [WiX-users] CustomActionData for uninstall

2009-11-23 Thread Alexander Shevchuk (Volt)
Your UnDeploy custom action does not have Execute=deferred attribute, which means it is immediate CA. -Original Message- From: cce91 [mailto:ell...@nortel.com] Sent: Monday, November 23, 2009 1:55 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomActionData for

Re: [WiX-users] Require version for upgrade

2009-11-16 Thread Alexander Shevchuk (Volt)
Condition element under Product is a LaunchConditions action and usually LaunchConditions action is scheduled way before FindRelatedProducts action. What you need is appropriately conditioned Custom Action Type 19 scheduled right after FindRelatedProducts in both InstallUISequence and

Re: [WiX-users] ServiceInstall - Start element

2009-10-29 Thread Alexander Shevchuk (Volt)
Type of serviceinst...@start attribute is not Formatted (http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx). So, depending on when decision has to be made on this attribute's value: - Build time Use preprocessor directives to set variable and use it something like this:

Re: [WiX-users] Property-RegistrySearch during uninstall

2009-10-29 Thread Alexander Shevchuk (Volt)
When during the uninstall are the RegistrySearch values evaluated? RegistrySearch is evaluated during AppSearch action. Are they evaluated during by uninstall package that is invoked during a major upgrade as well? If so, when? Uninstall during major upgrade is done by RemoveExistingProducts

Re: [WiX-users] util:XmlFile, conditionally set value

2009-10-27 Thread Alexander Shevchuk (Volt)
Hi Scott, If this condition does not apply to a component which installs Web.config file, put util:XmlFile in separate Component and apply condition to it: Component Id=... Condition![CDATA[CLIENTNAMESOMECLIENT]]/Condition util:XmlFile ... /Component Basically, Condition is a child of

Re: [WiX-users] Conditional installation depending on file existence

2009-10-26 Thread Alexander Shevchuk (Volt)
All custom directories, like SHELLPATH are represented as properties and they will get their values after CostFinalize (suggested sequence number in InstallExecuteSequence - 1000). Your Property Id=ISSHELLINSTALLED... - is an AppSearch (suggested sequence 400) and at the time of AppSearch

Re: [WiX-users] Modify INSTALLDIR using custom action?

2009-10-22 Thread Alexander Shevchuk (Volt)
You need to use CA Type 35 scheduled after CostFinalize to set MYDIR to whatever you want. Alex -Original Message- From: Hoang Le [mailto:hoangle2...@gmail.com] Sent: Thursday, October 22, 2009 3:44 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users]

Re: [WiX-users] Directory Table Question

2009-09-18 Thread Alexander Shevchuk (Volt)
Hi Chris, If you will dark resulting msi (with merge module included), you'll see something like this: Directory Id=CommonAppDataFolder.GUID .. . . . /Directory . . . InstallExecuteSequence . . . Custom Action=CommonAppDataFolder.GUID Sequence=1 / . . . /InstallExecuteSequence . . .

Re: [WiX-users] Uninstalling Virtual Directories

2009-09-03 Thread Alexander Shevchuk (Volt)
Hi Jaspreet, Move your default web site declaration out of Component to Product. Alex -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Thursday, September 03, 2009 12:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstalling

Re: [WiX-users] WIX Upgrade

2009-09-03 Thread Alexander Shevchuk (Volt)
In Wix help file read How To Guides\Updates\How To: Implement a Major Upgrade In Your Installer -Original Message- From: Anu Dev [mailto:queryl...@yahoo.com] Sent: Thursday, September 03, 2009 9:49 AM To: WIX Subject: [WiX-users] WIX Upgrade Hi   Wanted to know if anyone of you have

Re: [WiX-users] hoping for confirmation

2009-09-02 Thread Alexander Shevchuk (Volt)
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] hoping for confirmation Ah thank you! I knew I must be missing something simple. Amy -Original Message- From: Alexander Shevchuk (Volt) [mailto:a-ale...@microsoft.com] Sent: Tuesday, September 01, 2009 11:29 AM

Re: [WiX-users] Backup an existing file

2009-09-01 Thread Alexander Shevchuk (Volt)
Hi Hicholas, CopyFile will be translated to a record in the MoveFile table (http://msdn.microsoft.com/en-us/library/aa370055(VS.85).aspx) and will be processed by MoveFiles action (http://msdn.microsoft.com/en-us/library/aa370054(VS.85).aspx). The very last statement in the MoveFiles Action

Re: [WiX-users] hoping for confirmation

2009-09-01 Thread Alexander Shevchuk (Volt)
Hi Amy, Did you set UpgradeVersion/@MigrateFeatures to yes on product you want to upgrade? Alex -Original Message- From: Amy Rosewater [mailto:arosewa...@spectrumhr.com] Sent: Tuesday, September 01, 2009 9:28 AM To: General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] How to use the FeatureId in a CustomAction condition

2009-08-31 Thread Alexander Shevchuk (Volt)
See Conditional Statement Syntax - http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx Ampersand means action to be applied to the feature. Alex -Original Message- From: Arvind Aiyar [mailto:arvind.ai...@microsoft.com] Sent: Monday, August 31, 2009 11:22 AM To: General

Re: [WiX-users] Add to Existing ProgramsMenu Folder

2009-08-26 Thread Alexander Shevchuk (Volt)
RemoveFolder will delete only empty folders. If your shortcut is not the last in the FooBarProgramsFolder, it won't be deleted on your product uninstall. Alex -Original Message- From: Richard Hallett [mailto:richard.hall...@eduserv.org.uk] Sent: Wednesday, August 26, 2009 9:03 AM

Re: [WiX-users] Partial uninstall

2009-08-24 Thread Alexander Shevchuk (Volt)
Hi Greg, If the product is installed, is it possible to uninstall some, but not all features? During Change install (in Program and Features, former ARP) users can uncheck any of the installed features to uninstall them. If no UI is involved, in command command line provide REMOVE property