Re: [WiX-users] GUID Autogen question

2010-12-30 Thread Neil Sleightholm
The guid is generated from the full path to the file e.g. "C:\Program Files\My Folder\MyFile.ext", are you able to share the file names? Also, you don't seem to be using the syntax I suggested: Note the File/@Source is the only attribute in the File element. The Guid="*" is

[WiX-users] removing a file after compiling to a binary file

2010-12-30 Thread Sean Farrow
Hi: I need to delete files after performing a custom action. If I copy a file to a directory and then remove it during the installation, will an uninstallation try and remove it? What would happen on a repair? Cheers Sean. --

[WiX-users] updates to sql database

2010-12-30 Thread wix user
Hi all, I would like to know about updating sql databases using wix. Does wix handles this scenarios using minor updates? Any information/links in this area is appreciated. Thanks -- Learn how Oracle Real Application Clus

Re: [WiX-users] GUID Autogen question

2010-12-30 Thread Pound, Robert (CDC/OCOO/ITSO) (CTR)
Tried the example you supplied. Same results, same error. Following is new snippet: Thanks, Bob Error Text: ICE08: Component: file2 has a duplicate GUID: {21CF8DF6-627B-5F56-A21C-7D97

Re: [WiX-users] GUID Autogen question

2010-12-30 Thread Neil Sleightholm
I have seen this before and I think it is because you have a period in the component name, try simply using this syntax: You component id will then be the filename. Neil -Original Message- From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov] Sent: 30 De

[WiX-users] GUID Autogen question

2010-12-30 Thread Pound, Robert (CDC/OCOO/ITSO) (CTR)
I'm using the snippet below to define components. I'm attempting to use the GUID="*" (Autogen ) on the components. However, on each of the component statments I am getting an ICE08 Component ... has a duplicate GUID. The GUID value in the error message is the same for all 3 errors (component

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Galuza Michael
Finally got it working. I realized I missed one very important part of Major Upgrades... you have to change the Product code. On top of that I had to run the install without REINSTALL=ALL and without the "v" in the REINSTALLMODE (i.e. REINSTALLMODE=omus). It finally seems to be working. Sorry t

Re: [WiX-users] ComponentSearch and *

2010-12-30 Thread Christopher Painter
Speaking of using the Upgrade table to do detect only searches, is there a reason why WiX won't allow me to author this in a merge module? We have merge modules maintained in ORCA that we are trying to convert to WiX and WiX won't allow it. I can't think of a reason why using the Upgrade table

Re: [WiX-users] ComponentSearch and *

2010-12-30 Thread Christopher Painter
I read this article from MSDN and it doesn't make any reference to Upgrade not being allowed in a Merge Module. http://msdn.microsoft.com/en-us/library/aa369823(VS.85).aspx Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Peter Shirtcliffe
See the previous link under # Neither File Has a Version # Neither File Has a Version with File Hash Check Wix generates file hashes for unversioned files. If you put RemoveExistingProducts *before* InstallInitialize, itll work better than after InstallInitialize. The part of the log you were lo

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Galuza Michael
Okay, but what about files that don't include a version, such as a text file? I did more research and found a suggestion to schedule my RemoveExistingProducts earler (I had it after InstallFinalize) so I moved it to after InstallInitialize. I was hoping it would remove the old file so tht it woul

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Peter Shirtcliffe
For the new installer, you must increase the "file version" in the file's version resource. The installer considers two files with the same path, filename and version number to be the same file. http://msdn.microsoft.com/en-us/library/aa368267%28VS.85%29.aspx -Original Message- From: G

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Galuza Michael
In looking at the install log, I see the below error when it goes to copy the file. How does it determine the version of the file? The file is, in fact a newer file, but I didn't update the version in the binary of the file. Is that what it is using to determine the version? Is there a way to o

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Peter Shirtcliffe
You need to change the product Id as well as the version to make a major upgrade. When you've done that, you can install it by double clicking or with msiexec /i . If you also add /l*v to the msiexec command line, it will generate a log which will be useful. No Reinstall properties are needed. T

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Galuza Michael
However, you seem to be somewhat correct. I renamed the new msi file to match the name of the old one and the worked! Well, it completed with no visible errors anyway. When I look in "Add/Remove Programs" the version has been updated. However, the one file in the install did NOT get upgraded.

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Galuza Michael
This is a major upgrade, isn't it? Again, I'm going from that tutorial I noted below, which said that setting OnlyDetect to "no" you are doing a major upgrade. As I said, maybe I need to find a new tutorial. -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent:

Re: [WiX-users] Creating Unique GUIDs inside a foreach block?

2010-12-30 Thread Pound, Robert (CDC/OCOO/ITSO) (CTR)
Thanks for the quick reply. #1. The condition statement under the component will, in my case, take care on only 1 of these files ( and GUID) actually being installed. #2. The "behind the scenes"purpose of this fragment, is to simplify the work for developers and reduce effort in building the i

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Peter Shirtcliffe
You can't change the MSI file name in a minor upgrade. You can only do it in a major upgrade. -Original Message- From: Galuza Michael [mailto:mdgal...@dejarnette.com] Sent: 30 December 2010 15:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is upgradi

Re: [WiX-users] Is upgrading without caching possible.

2010-12-30 Thread Galuza Michael
I decided to put together a very simple example to test all this out. I took my 2 installs, removed everything except one file, removed the GUI, etc. As expected and hoped, I still get the same problem. I'm including my .wxs files below. Can someone please help me figure out what I'm doing wron

Re: [WiX-users] Creating Unique GUIDs inside a foreach block?

2010-12-30 Thread Peter Shirtcliffe
Guids are generated not by the pre-processor but much later by light.exe. * Guids are derived from the component keypaths which are all the same in the generated code. There are a couple of posts on this list stating that foreach was supposedly deprecated: there are some problems associated with

[WiX-users] Creating Unique GUIDs inside a foreach block?

2010-12-30 Thread Pound, Robert (CDC/OCOO/ITSO) (CTR)
I'm using VS2010, WiX version 3.6.1112.0. The following snippet of code is used to generate a 1-n # of components, based upon value of EnvironmentList variable. It works ok with 1 entry in EnvironmentList. However when EnvironmentList contains 2 or more entries I get an ICE08 error on the com

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread Yan Sklyarenko
No, I'd guess. You can still use any other text editor, of course, and use build script to build the MSI package. Obviously, you lose VS convenience here... If I'm mistaken, I would be happy :-) but it seems I'm not... -- Yan On Thu, Dec 30, 2010 at 2:28 PM, INRO(Robert Inzinger) < robert.inzin.

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread INRO(Robert Inzinger)
This means it is not possible to edit 3.0 projects with VS if there is 3.5 (3.6) installed? -Ursprüngliche Nachricht- Von: Yan Sklyarenko [mailto:yansklyarenko+...@gmail.com] Gesendet: Donnerstag, 30. Dezember 2010 13:12 An: General discussion for Windows Installer XML toolset. Betreff:

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread Yan Sklyarenko
It is stated that the only limitation of simultaneous install is inability to use both versions of Votive. You're right, if you need just builds to run with different versions, it is possible and relatively easy to set up. But you'll have to leave with Votive limitation, anyway. -- Yan On Thu, De

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread INRO(Robert Inzinger)
Hi Yan I know you can build projects with different versions. But I need the possibility to modify projects in both versions. I installed WiX 3.6 (1222). After the installation (VS 2010 and VS 2008 integration) I cannot open old 3.0 projects in VS 2008 (error message: The requiered attribute "P

[WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread INRO(Robert Inzinger)
Hi Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC? Robert -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standard

Re: [WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread Yan Sklyarenko
I've recently asked the similar question on this list: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Any-option-to-run-3-0-and-3-5-on-a-single-build-server-side-by-side-tt5858620.html

[WiX-users] Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC?

2010-12-30 Thread INRO(Robert Inzinger)
Hi Is there a way to use WiX 3.0 with VS 2008 and WiX 3.5 (3.6) with VS 2010 at one PC? Robert -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standard