Re: [WiX-users] how to manage guids for my application

2010-11-22 Thread Jan Gregor
thanks to clarify it, i use major upgrade to enable two versions to be installed at same time (for testing purposes). as i understand so far, i need to generate (or autogenerate with WiX) new guid for every component on major upgrade if i will not do that, component guid will not be unique when two

Re: [WiX-users] not able to create folder under "My Documents"

2010-11-22 Thread sagar shinde
not able to create folder under "My Documents" can u describe your code a bit that some can understand your problem On Tue, Nov 23, 2010 at 6:42 AM, Rob Mensching wrote: > Why? > > On Sun, Nov 21, 2010 at 9:19 PM, NayanaK wrote: > > > > > > > -- > > View this message in conte

[WiX-users] Running HeatDirectory task fails from TFS 2010 with MSBuild x64 ( Wix 3.5.2312)

2010-11-22 Thread Yann Normand
Hi all, I call HeatDirectory task from a MSBuild file. When the MSBuild file is launched from a TFS 2010 Build Server on a x64 system, it fails with the following error: F:\Builds\1\MyApplication\CIBuild\Sources\Main\Build\..\Reference\wix\3.5\Heat.exe dir F:\Builds\1\MyApplication\CIBuild\So

Re: [WiX-users] how to manage guids for my application

2010-11-22 Thread Rob Mensching
In almost all cases, once you set the Guid you never change it. If you can, follow the strict autogen GUID rules WiX enforces and let WiX manage the GUID for you. Then you don't have to worry about it... because we already did (for years and years ). On Thu, Nov 18, 2010 at 7:42 AM, Pally Sandher

Re: [WiX-users] Error During transform creation(warning TRCH1115 )

2010-11-22 Thread Rob Mensching
Or do an "EnsureTable" in your original MSI to get the *correct* definition from WiX (because we're always right! ) and the Merge Module will end up using that. On Mon, Nov 22, 2010 at 2:06 AM, Peter Shirtcliffe wrote: > Edit the merge module in Orca/InstEd to have the correct value and save > it

Re: [WiX-users] atomic (un)install when using custom actions;

2010-11-22 Thread Rob Mensching
Removing on rollback is the easy case. The hard case is rollback of uninstall where you removed a bunch of registry keys and have to put them all back. Second hardest is repair where you write a bunch of entries and have to write the old ones back on rollback. On Mon, Nov 22, 2010 at 11:06 AM, Wil

Re: [WiX-users] not able to create folder under "My Documents"

2010-11-22 Thread Rob Mensching
Why? On Sun, Nov 21, 2010 at 9:19 PM, NayanaK wrote: > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/not-able-to-create-folder-under-My-Documents-tp5761634p5761634.html > Sent from the wix-users mailing list archive at Nabble.com. > > > --

Re: [WiX-users] Heat harvesting

2010-11-22 Thread Rob Mensching
And that was after we found 5+ other bugs with no end in sight. VS doesn't make this easy because all the different project systems are unique and when you do things wrong something blows up mysteriously. We really want this feature but it's going to take more effort to get working than we have ti

Re: [WiX-users] Newbie to Wix for MSI installer.

2010-11-22 Thread Rob Mensching
amazingly, this list still seems mostly accurate: http://robmensching.com/blog/posts/2007/11/20/WiX-editors On Mon, Nov 22, 2010 at 10:06 AM, Kenneth Tse wrote: > Hi, > > I am new to Wix and this community and would like to ask if there is any > GUI IDE that help to develop the Wix installer (i.

Re: [WiX-users] RegistrySearch for REG_DWORD handling using WiX Installer

2010-11-22 Thread Rob Mensching
PS: Burn's RegistrySearch returns the value expect. On Mon, Nov 22, 2010 at 9:57 AM, Neil Sleightholm wrote: > As Rob said it is not supported in Windows Installer but it quite a > simple custom action in DTF. I had a similar problem reading the SQL > port my instance was using, here is an examp

[WiX-users] Getting the name of the currently executing CustomAction

2010-11-22 Thread Thomas S. Trias
This is more of a Windows Installer question than a WiX question, but I am working on a CA for use with WiX, so please bear with me. I have a binary entry point that I need to schedule more than once during the execution sequence in order to process and set installer properties in the correct o

Re: [WiX-users] expected beheavour with registerySearch

2010-11-22 Thread Blair
Registry Search as implemented by Windows Installer does not distinguish between an empty value and a non-existent value. You must search a key/name that has a value to determine "existence". You can use WiX's RegistrySearch (in WixUtilsExtension) for what you need, but I believe you need to use 3

Re: [WiX-users] First WiX 3.6 installation experience

2010-11-22 Thread Yan Sklyarenko
Rob, thanks for your answers! And keep coding - you know we will! ;-) -- Yan On Mon, Nov 22, 2010 at 4:24 PM, Rob Mensching wrote: > 1. Yep, there is actually a Sleep(500) in each progress message. > > 2. Yep, I've said so myself: > http://robmensching.com/blog/posts/2010/9/6/Burn-baby.-Burn >

[WiX-users] Installation of features and sub-features...

2010-11-22 Thread John D. Marinuzzi
In the installation of our software, I have some features that don't themselves contain files to be installed but the sub-features do. The tree looks something like this: Root Feature (No files, just a container) Sub1 (No files, just a container)

Re: [WiX-users] atomic (un)install when using custom actions;

2010-11-22 Thread Wilson, Phil
First, I'd look to see if the DifX framework supplies all this stuff without you needing to do it: http://www.microsoft.com/whdc/driver/install/difxtools.mspx It sounds like you need to understand rollback custom actions. The basic idea is that if you create a bunch of registry entries in an i

[WiX-users] Newbie to Wix for MSI installer.

2010-11-22 Thread Kenneth Tse
Hi, I am new to Wix and this community and would like to ask if there is any GUI IDE that help to develop the Wix installer (i.e. installshied). I download and install Wix on my local machine, and I see Wix template shown up on the Visual Studio 2010, but there are no visual IDE to add install

Re: [WiX-users] RegistrySearch for REG_DWORD handling using WiX Installer

2010-11-22 Thread Neil Sleightholm
As Rob said it is not supported in Windows Installer but it quite a simple custom action in DTF. I had a similar problem reading the SQL port my instance was using, here is an example: public static ActionResult ReadSqlTcpPort(Session session) { session.Log("Begin ReadS

Re: [WiX-users] atomic (un)install when using custom actions;

2010-11-22 Thread Bisht, Pradeep
Thanks Dave. Can you please elaborate? How can I author them to make my installation atomic. I have 3 custom actions - each installs a driver - creates some registry entries. I need to make sure that if the installation of any one driver fails then the rest of the drivers should also not be inst

Re: [WiX-users] Reference harvesting disabled in 3.6?

2010-11-22 Thread Rob Mensching
It was disabled because it was generating lots of bugs. You can enable it by setting the Harvest property to true. On Wed, Nov 17, 2010 at 8:59 AM, Hernán Martínez wrote: > While porting one project from VS Setup to Wix (first time with it) I found > that Votive doesn't harvest any reference at a

Re: [WiX-users] RegistrySearch for REG_DWORD handling using WiX Installer

2010-11-22 Thread Rob Mensching
Sadly, the Windows Installer doesn't support that. On Fri, Nov 19, 2010 at 2:16 PM, Brian Pang wrote: > Hi, > > RegistrySearch for REG_DWORD handling using WiX Installer. > > After the RegistrySearch it returns REG_SZ with "#1". > How do you resolve this issue so it will set the return type to a

Re: [WiX-users] Wix 3.5 RC Votive

2010-11-22 Thread Rob Mensching
Unfortunately, no. We turned the feature off because it was generating so many bugs. We'll revisit the feature later (probalby WiX v4). You can turnt he feature on by turning the Harvest property back on... but don't be surprised if you run into problems. On Fri, Nov 19, 2010 at 4:09 AM, Stelios

Re: [WiX-users] First WiX 3.6 installation experience

2010-11-22 Thread Rob Mensching
1. Yep, there is actually a Sleep(500) in each progress message. 2. Yep, I've said so myself: http://robmensching.com/blog/posts/2010/9/6/Burn-baby.-Burn 3. Yep, left them both so if there is a bug in Burn's uninstall you can still easily remove the MSI. 1 and 3 are there to help testing. 2 is t

Re: [WiX-users] atomic (un)install when using custom actions;

2010-11-22 Thread David Watson
The windows installer is inherently transactional, your custom actions need to be too. Author them so that they install, uninstall and rollback correctly. Dave -Original Message- From: Bisht, Pradeep [mailto:pradeep_bi...@yahoo.com] Sent: 22 November 2010 05:49 To: wix-users@lists.sou

Re: [WiX-users] Error During transform creation(warning TRCH1115 )

2010-11-22 Thread Peter Shirtcliffe
Edit the merge module in Orca/InstEd to have the correct value and save it. You'll have to do this each time you update the merge module with a new version. -Original Message- From: Devarajan, Mahesh IN BLR SISL [mailto:d.mah...@siemens.com] Sent: 22 November 2010 09:12 To: wix-users@list

[WiX-users] Error During transform creation(warning TRCH1115 )

2010-11-22 Thread Devarajan, Mahesh IN BLR SISL
I have my base MSI created using wix 2.0 toolset, now I am trying to create Patches for the same using WiX 3.0 At the time of transform creation I get the following warning "warning TRCH1115 : The value '0' in table '_Validation', column 'KeyColumn' is invalid according to the column's validatio