Re: [WiX-users] Instance transforms with the msi

2009-12-07 Thread Yan Sklyarenko
See if this can be of any help for you: http://ysdevlog.blogspot.com/2008/12/multiple-instance-installations-and .html It works for me. -- Yan -Original Message- From: Uma Harano [mailto:uhar...@esri.com] Sent: Tuesday, December 08, 2009 01:24 To: General discussion for Windows Installer

[WiX-users] table contains an action '' -- how to find it ??? (Light warning 1055)

2009-12-07 Thread Alan Sinclair
Light is giving this warning: Console.wxs(142) : warning LGHT1055 : The table contains an action '' which cannot be merged from the merge module 'CDF.msm'. How can I find which action is colliding? Light omits the name, and there's no obvious culprit in CDF.msm (which is built elsewhere, and n

[WiX-users] Quiet Execution Custom Action - run a temporary executable

2009-12-07 Thread Vladimir Iahnenco
Hi All, I have an executable which has to be launched as a custom action. It is a temporary one, I have to run and delete it after that. When I add it as a Binary and Custom action it works. Now I want to execute it silently, I added an action to set RunSetConfig property and another

Re: [WiX-users] How Do I Verify Group Membership?

2009-12-07 Thread Castro, Edwin G. (Hillsboro)
In general I don't have permission nor ability to create the domain accounts/groups with the required permissions on our target environments. Requirements/restrictions can get in the way sometimes. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643

Re: [WiX-users] Instance transforms with the msi

2009-12-07 Thread Michael Osmond
Hi If you are using MSI Instances and installing to different locations, you don't need different component GUIDs for each component in each installed instance and the reference counting seems to work okay. I will be honest and say I don't know how it works under the hood, but it does work.

[WiX-users] Two Custom Action entry points in one C++ Dll and WcaLog failure

2009-12-07 Thread Tony Juricic
At one point I was thinking that I have too many C++ Custom Action Dlls and started using existing Dlls. That is, I added a new entry point for a new CA in a Dll that already hosted code for existing CA. That appears to work just fine except for one issue: WcaLog() doesn't work - nothing gets ou

Re: [WiX-users] Instance transforms with the msi

2009-12-07 Thread Kelly . Leahy
I wasn't asking about ProductCode. I'm asking about the component GUID for the registry key you're referring to. You need to assign different GUIDs for all components that could be installed in two locations by the two different instances. If you want to install the same files in two places,

Re: [WiX-users] Instance transforms with the msi

2009-12-07 Thread Uma Harano
Each instance has a unique Product Code. Also, I was following the guidelines from the Windows installer SDK (On how to author instance transforms). How do I install the same set of files for multiple instances using transforms? Please advise! Uma- Here is the windows installer sdk topic on thi

Re: [WiX-users] Instance transforms with the msi

2009-12-07 Thread Kelly . Leahy
Are you using the same component GUID for each of these keys? You can't do that... It's breaking the component rules and all kinds of bad things happen when you break the component rules. Each distinct component keypath (the 'main' entry in a component) MUST have a unique component GUID. Eac

[WiX-users] Instance transforms with the msi

2009-12-07 Thread Uma Harano
Hi, I am using instance transforms (msts) to install multiple instances of my base product (msi) on the same machine. Everything works except for one issue: I use an instance identifier property [INSTANCEPROP] that gets set to"Instance1", "Instance 2",...etc for each instance. I use this propert

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] SqlSt

[WiX-users] SqlString is Name a keyword?

2009-12-07 Thread Steve Braswell
All: I'm using SqlString to affect changes to the database during installation. Here is a snippet from the wxs file: I'm getting the following exception during install: Error -2147217900: failed to execute SQL string, error Detail: Line 4: Incorrect syntax near ','., SQL key: In

Re: [WiX-users] Problem with removing registry key containing version info and not removing an assembly while doing a major upgrade

2009-12-07 Thread Ana Martic
The key itself contains the version it looks like e.g. CLSID/GUID/1.0.0.0. A file is a keypath of that component. I also have to add that it's impossible for me to change the assembly's version. From: Blair [os...@live.com] Sent: Monday, December 07, 200

Re: [WiX-users] How Do I Verify Group Membership?

2009-12-07 Thread Richard
If you have special security needs, the best approach is to create a user or group with exactly the permissions that you need and have your code run as that user or as a member of that group. When you uninstall your application you remove the created user/group. -- "The Direct3D Graphics Pipelin

Re: [WiX-users] multiple entries in add remove programs.

2009-12-07 Thread Neil Sleightholm
Goira, your Product/@UpgradeCode doesn't match Upgrade/@Id that is why you get the duplicate. Take a look at my sample again you will see I use to stop this happening. Neil -Original Message- From: Giora keinan [mailto:grkei...@gmail.com] Sent: 07 December 2009 09:35 To: General discuss

Re: [WiX-users] multiple entries in add remove programs.

2009-12-07 Thread Wilson, Phil
You have OnlyDetect set to Yes when you detect the older version, that won't cause the upgrade to occur. Phil Wilson -Original Message- From: Giora keinan [mailto:grkei...@gmail.com] Sent: Monday, December 07, 2009 1:35 AM To: General discussion for Windows Installer XML toolset. Subj

Re: [WiX-users] multiple entries in add remove programs.

2009-12-07 Thread Blair
kelly.le...@milliman.com asked the right question. Go back to Product/@Id="*", and make sure that Product/@Upgrade is identical to Upgrade/@Id. Most of us create a and use that. Here is the pattern: [...] ?> [...] ... ... ... [...] -Original Message-

Re: [WiX-users] Problem with removing registry key containing version info and not removing an assembly while doing a major upgrade

2009-12-07 Thread Blair
Is the registry value containing the version number the keypath if its component? -Original Message- From: Ana Martic [mailto:t-anm...@microsoft.com] Sent: Monday, December 07, 2009 7:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem with removing registry key contain

Re: [WiX-users] multiple entries in add remove programs.

2009-12-07 Thread Giora keinan
Hello All I thought I found a solution that works. 1. I used the original GUIDs of the Product, and of the components I wanted to upgrade. (replaced the '*' with the GUIDs of the original setup). 2. use the same feature name as in the original setup. 3. Run the following command "msiexec /i xxx

[WiX-users] Problem with removing registry key containing version info and not removing an assembly while doing a major upgrade

2009-12-07 Thread Ana Martic
Hi, While creating an installer that should do a major upgrade I firstly faced the problem that the registry key containing a version number (of the previous version) doesn't get removed. In order to make it possible that the installer of the upgrade removes it I changed the GUID of the compone

[WiX-users] WIX extension: CreateWixSimpleReferenceRow doesn't work with custom tables?

2009-12-07 Thread Maciej Oszutowski
Hi, I'm developing WIX extension which creates number of custom tables. One of them is similar to InstallExecuteSequence, another one is similar to CustomAction table. Don't ask me why, I just need it ;) Tables look as follows:

Re: [WiX-users] WIX 3.5 and Visual Studio 2008 Express

2009-12-07 Thread Bob Arnson
Thomas Steinbach wrote: > is there a way to use the WIX version 3.5, which can > manage setup projects from/within Visual Studio 2008 Prof. > with the Visual C++ 2008 Express Edition? > Why is there no support for that free IDE? Will that > IDE suported in the future? > No, it won't be supporte

Re: [WiX-users] 32 bit component best practice

2009-12-07 Thread Bob Arnson
John Aldridge wrote: > Should I just be dropping the 32 bit component into CommonFilesFolder, > perhaps? > Sounds like it belongs there and it's easy. To be honest, I wonder how many people (in a general sense, not looking for votes) actually change installation directories these days... --

[WiX-users] 32 bit component best practice

2009-12-07 Thread John Aldridge
Our product has both 32 and 64 bit versions, and we want to allow users to install these side-by-side on a 64 bit machine. The 64 bit version includes a 32 bit component which is identical to the corresponding component of the 32 bit version. How should we choose an installation location for th

Re: [WiX-users] multiple entries in add remove programs.

2009-12-07 Thread Kelly . Leahy
Why are your two upgrade codes different? Are you doing that on purpose? The upgrade code should remain the same for all products that are considered to be in the same upgrade family. by "two" upgrade codes, I mean the UpgradeCode in your Product tag and the Id in the Upgrade tag. Giora ke

Re: [WiX-users] multiple entries in add remove programs.

2009-12-07 Thread Giora keinan
Hello Thanks Sascha, Asker and Neil. I tried your ideas and still have no idea what is the problem I am using only 3 digits version (trying to upgrade 1.0.7 to 1.0.8) following in my upgrade code, maybe you will found what is the problem:

[WiX-users] WIX 3.5 and Visual Studio 2008 Express

2009-12-07 Thread Thomas Steinbach
Hello, is there a way to use the WIX version 3.5, which can manage setup projects from/within Visual Studio 2008 Prof. with the Visual C++ 2008 Express Edition? Why is there no support for that free IDE? Will that IDE suported in the future? Thomas -

Re: [WiX-users] multiple entries in add remove programs.

2009-12-07 Thread Sascha Beaumont
Using Package/@Id="*" I'm using the following code - this prevents two versions being installed where only the 4th version number differs. This is primarily to prevent confusion with internal testing, and means that we bump the third version following each public release in order to permit upgrades