Re: [WiX-users] Using German localization, but getting English

2009-02-09 Thread Zachary Young
Hi Bob, I just checked the Error table and it's blank: 'Error - 0 rows' Also, why are you duplicating the text? WixUI already supports de-de strings. (It should work, I'm just curious.) I'm not exactly sure what you mean by duplicating... I think you're asking, Why include the de-de WXL file

Re: [WiX-users] CustomAction following specific CustomAction fails

2009-02-09 Thread jballe
Thank you. I'am probably using unicode as I am using Visual Studio. I have changed as you described, but unfortunately it didn't solve the issue. I attach two logfiles: http://n2.nabble.com/file/n2296247/Install1.log Install1.log http://n2.nabble.com/file/n2296247/Install2.log Install2.log In

[WiX-users] Registry Manipulation

2009-02-09 Thread Yu, Brian
Is it possible for wix to search for existing registry value and if it exists or equal to a certain value, then leave the registry untouched But if it does not exist, then create? Is it a combination of using RegistrySearch and RegistryKey? How would it work? Brian Yu

[WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Adam Burton
Hi, I have been working on an installer for a COM application. The installer contains a few .NET assemblies, with a couple configuration files and installs a COM application that uses the .NET assemblies (with the ComPlusExtension). Due to our development not being so strict I figured it would

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Rob Hamflett
You could use RegistrySearch to set a property, and then use that property in a condition for the Component that contains your RegistryKey element. Rob Yu, Brian wrote: Is it possible for wix to search for existing registry value and if it exists or equal to a certain value, then leave the

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Neil Sleightholm
Where do you have RemoveExistingProducts scheduled? Have you tried it after InstallValidate so that is removes everything before reinstalling. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From: Adam Burton

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread post
Hi Brian, what about something along the lines of: Property Id=MYREGKEYPROP Value=YetNotSet RegistrySearch Id=MYREGKEYSEARCH Key=MyKey Name=RegValueName Root=HKLM Type=raw/ /Property Component Id=CreateKeyComponent Guid= KeyPath=yes RegistryValue Id=WRITEREGVALUE Action=write Key=MyKey

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Adam Burton
Good thinking, that worked. The next question is, should this be necessary? Is the ComPlusExtension using its own custom actions or something, rather than using stuff like the ComPlus tables provided by Windows Installer? Just seems to me that it should be able to handle this in the same way

[WiX-users] Custom Action and Command Windows

2009-02-09 Thread Jacob, Christian
I wrote a C# based managed Custom Action that basically executes a PowerShell Script. However, the PowerShell Script runs third party apps. While the setup is running and the CA is executed, everytime a 3rd party application is executed from within PowerShell, a command window opens up. Is

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Yu, Brian
Thanks for this, I'll give it a try. Is it possible to add a flag in the RegistryValue to say don't write/create if value exists? Probably too late for me, but I think it'll be a useful feature in the future. -Original Message- From: p...@hoaske.dk [mailto:p...@hoaske.dk] Sent: 09

[WiX-users] light.exe fails when the platform set to x64

2009-02-09 Thread Horst27
Hi, I have created a Wix project in VS2008 on an Vista x64 maschine. Currently, I use version 3.0.5006.0 x64 of Wix. If I set the target platform of the package to x86, wix builds an msi without problems. If the target platform to x64 is set, light.exe fails with the error:light.exe : error

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread post
Hi Brian, after doing the RegistrySearch the property MYREGKEYPROP will be assigned the value if the key exists. If the key doesn't exist, the property MYREGKEYPROP will be assigned the default value YetNotSet. You can use that fact in the condition for the component that writes/creates the key

[WiX-users] ICE Errors in CI environment

2009-02-09 Thread Nord, James
Hi all, (Wix 3.0.4318.0, CI is Hudson 1.279 running in Apache Tomcat 6.0.16 on Java 1.6.0 update6) I'm having an issue that I can't work out. I get the following errors from the WIX toolset when running in the CI environment: Microsoft (R) Windows Installer Xml Linker version 3.0.4318.0

[WiX-users] Wix for IIS 7

2009-02-09 Thread Arun Perregatturv
Does Wix setup support IIS 7? We are planning to port existing ASP.NET project written in VS setup to Wix in order to get support for Vista and Win 2008, is it worth porting the project to get the support or use IIS6 compatibility mode? Currently, our ASP.NET projects works fine on IIS 6 but

[WiX-users] Problems Droping Databases

2009-02-09 Thread Arthur Curvello
Can’t drop a database guid named like: D33B2FD0-C0BF-4d39-B9D4-DB9ED0B880F0 Tried : Property Id=GUIDDBd1b5467c-77af-461c-9e79-9a29171e5cda/Property I got Error in syntanx near - Property Id=GUIDDB[d1b5467c-77af-461c-9e79-9a29171e5cda]/Property No error but do not drop Property

Re: [WiX-users] Wix for IIS 7

2009-02-09 Thread Arun Perregatturv
Phillip, Thanks for the info. So I can assume that IIS Team works on the other side the world where they don't know the meaning of 'Deployment option for developers or compatibility testing' and know only that it's a part of Windows. Anyways, I will stick with existing setup and use

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Tony Juricic
Would this really work? I ask because I have never managed to get conditions to work for Registry components. In my experience Registry is handled in bulk. All the components (i.e. Registry keys and values) either get created/written or no. -Original Message- From: p...@hoaske.dk

[WiX-users] is setting sql:Database ConfirmOverwrite=no expected cause the db not being created if it already exists?

2009-02-09 Thread Robert O'Brien
is setting sql:Database ConfirmOverwrite=no expected cause the db not being created if it already exists? -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Rob Mensching
If you condition out a Component then nothing in that Component should be installed/uninstalled/repaired. -Original Message- From: Tony Juricic [mailto:tjuri...@tradestation.com] Sent: Monday, February 09, 2009 08:36 To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] Problems Droping Databases

2009-02-09 Thread Rob Mensching
Need more details. What does the verbose log file show? -Original Message- From: Arthur Curvello [mailto:arthur.curve...@conv.com.br] Sent: Monday, February 09, 2009 07:07 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problems Droping Databases Can't drop a database guid

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Rob Mensching
Yes, the ComPlusExtension uses its own CA. The ComPlus tables in MSI don't seem to do what you'd expect. Fredrik would be able to explain in much more detail. COM+ configuration is icky. -Original Message- From: Adam Burton [mailto:adz...@googlemail.com] Sent: Monday, February 09,

Re: [WiX-users] CustomAction following specific CustomAction fails

2009-02-09 Thread Rob Mensching
Uhh, it looks like you have failing CustomActions. Install1.log: Action start 09:12:39: UpdatePropsWithSelectedWebSite. MSI (c) (1C:8C) [09:12:39:637]: Creating MSIHANDLE (30) of type 790542 for thread 5772 MSI (c) (1C:14) [09:12:39:638]: Invoking remote custom action. DLL:

Re: [WiX-users] Wix for IIS 7

2009-02-09 Thread Rob Mensching
I would greatly appreciate it if more people notified the IIS team that their IIS7 deployment story is unsatisfactory (assuming you agree). They've continued to punt MSI Interop because they do not believe there is enough customer need. Or at least that is one reason I've been given.

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Neil Sleightholm
I don't know how the internals of the COM+ custom action work but this does sound like a bug to me. Neil -Original Message- From: Adam Burton [mailto:adz...@googlemail.com] Sent: 09 February 2009 13:40 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users]

Re: [WiX-users] Wix for IIS 7

2009-02-09 Thread Arun Perregatturv
Yes I do agree with you. If Microsoft is releasing a product then they have provide a way for developers to Deploy for that product. I filed a bug or feedback complaint for Visual Studio Packages (SQLExpress and NET35SP1) to be included in VS 2010 and they approved saying they will be including

Re: [WiX-users] Custom Action Woes -- I must be doing something stupid, but can't see it.

2009-02-09 Thread Bob Arnson
Anthony Wieser wrote: CustomAction Id=SetAgentNstPath Value=[#AgentInst] Property=AgentInstallerPath/CustomAction CustomAction Id=AgentInstallerAction Property=AgentInstallerPath Return=ignore ExeCommand =agent sapi peedy UK registry exit / If you're running an exe that you

Re: [WiX-users] ICE Errors in CI environment

2009-02-09 Thread Bob Arnson
Nord, James wrote: (Wix 3.0.4318.0, CI is Hudson 1.279 running in Apache Tomcat 6.0.16 on Java 1.6.0 update6) Later versions of WiX have an explicit warning message for this case. As I recall, service accounts need to have the Allow Service to Interact With Desktop setting turned on. --

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Bob Arnson
Yu, Brian wrote: Is it possible for wix to search for existing registry value and if it exists or equal to a certain value, then leave the registry untouched But if it does not exist, then create? What's the difference between writing a value and leave it alone? The end result is still

Re: [WiX-users] light.exe fails when the platform set to x64

2009-02-09 Thread Bob Arnson
Horst27 wrote: If I set the target platform of the package to x86, wix builds an msi without problems. If the target platform to x64 is set, light.exe fails with the error:light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x654 occurred: This installation package

Re: [WiX-users] Using German localization, but getting English

2009-02-09 Thread Bob Arnson
Zachary Young wrote: I just checked the Error table and it's blank: 'Error - 0 rows' If you don't include the Error table, MSI uses its own localized strings. From WiX.chm: Using translated error and progress text By default, WixUI will not include any translated Error or

Re: [WiX-users] light.exe fails when the platform set to x64

2009-02-09 Thread Rob Mensching
Bob, should we catch *this* error too and show an error message like that? We're finding all kinds of things that can mysteriously hose validation. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Monday, February 09, 2009 09:49 To: General discussion for Windows

Re: [WiX-users] light.exe fails when the platform set to x64

2009-02-09 Thread Bob Arnson
Rob Mensching wrote: Bob, should we catch *this* error too and show an error message like that? We're finding all kinds of things that can mysteriously hose validation. Yep, it all boils down to needing to open the package and prime the MSI engine. I'll add it to my other review. --

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Michael Urman
On Mon, Feb 9, 2009 at 11:46, Bob Arnson b...@joyofsetup.com wrote: Yu, Brian wrote: Is it possible for wix to search for existing registry value and if it exists or equal to a certain value, then leave the registry untouched But if it does not exist, then create? What's the difference

[WiX-users] Solution for VB6 DLL

2009-02-09 Thread Andrew Ziem
My new MSI was working great in WiX 3.0.4805.0 (and Warsetup 3.12.0.0) except I needed to register a DLL which looks like it was made in VB 6 (it references MSVBVM60.DLL) I ran: heat.exe file foo.dll -out c:\foo.dll.wxs Then, I added the GUID, but I got errors: c:\wix3\candle.exe

Re: [WiX-users] Solution for VB6 DLL

2009-02-09 Thread Rob Mensching
1. Yes, using SelfRegCost is how you do SelfReg (regsvr32). It is considered bad. 2. Sounds like there is still a bug in the harvesting of VB6 DLLs still. Can you put all of this information plus the output registration (and maybe the VB6 DLL, or a small example) in a bug. File the bug

Re: [WiX-users] ICE Errors in CI environment

2009-02-09 Thread Nord, James
When running hudson directly from the command prompt the build succeeds. I then added the user to the Administrators group and re-tried the build using the service and the build suceeded. I removed the Administrators group and the build then failed. Obviously from the run with least

Re: [WiX-users] Problems Droping Databases

2009-02-09 Thread Arthur Curvello
LOG file MSI (s) (4C!60) [16:21:26:734]: PROPERTY CHANGE: Modifying DropDatabase property. Its current value is 'DropDBNameDatabase€(local)\sqlexpress€€AnotherDB€8€1€€'. Its new value: 'DropGuidDatabase€(local)\sqlexpress€€[d1b5467c-77af-461c-9e79-9a29171e5cda] €10€1€€'. MSI (s) (4C!60)

Re: [WiX-users] Solution for VB6 DLL

2009-02-09 Thread Andrew Ziem
On Mon, Feb 9, 2009 at 11:20 AM, Rob Mensching rob.mensch...@microsoft.com wrote: 1. Yes, using SelfRegCost is how you do SelfReg (regsvr32). It is considered bad. 2. Sounds like there is still a bug in the harvesting of VB6 DLLs still. Can you put all of this information plus the

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Adam Burton
Yea, I recall when I tried looking up the ComPlus tables when using the NAnt MSI task they seemed a bit weird, but then before I did any real experimentation I discovered WiX and figured, who cares ... that'll do the job for me instead :-D lol. On Monday 09 February 2009 17:18:26 Rob Mensching

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Rob Mensching
Well, if COM+ isn't working (I know next nothing about it), file a bug with all the details and Fredrik will look at it. He's been very responsive to the COM+ and MSMQ bugs lately. -Original Message- From: Adam Burton [mailto:adz...@googlemail.com] Sent: Monday, February 09, 2009

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Adam Burton
Yea, that's what thought. Well seeing as at least one person thinks the same as me I shall submit a bug and see what comes of that :-). At least in the mean time I have a work-around. Cheers, Adam On Monday 09 February 2009 17:33:56 Neil Sleightholm wrote: I don't know how the internals of

[WiX-users] Reading a Registry entry on 64 bit

2009-02-09 Thread Colin Fox
Hi all. I'm trying to build a 32/64 bit wix project file, and part of this is the need to read a key out of the registry. I've seen documentation that says to use the win64='yes/no' flag, and wix will allegedly use the appropriate registry key. However, this doesn't work. Here is what I have,

Re: [WiX-users] Problems Droping Databases

2009-02-09 Thread Rob Mensching
For the error case: does your database name start with a single quote? Is that even allowed? I suggest using the SQL Profiler and see why the database isn't getting dropped. Almost always it ends up being something else in the environment. -Original Message- From: Arthur Curvello

[WiX-users] Linker flag for Win XP compatibility

2009-02-09 Thread Sudripta Nandy (Sarangsoft Corporation)
Is there a compiler/linker option by which we can ask corext to build the executables compatible to Win XP? What I am looking for is that the linker should not include such functions (or function versions) which are not found in msvcrt.dll on XP. One function is 'CxxFrameHandler3' which is not

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Tony Juricic
Say you are upgrading existing installation and you want to leave the value as it is. Like, user selected yes for some option. Otherwise it is a fresh install and you want default initial value of 'no'. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Monday,

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Tony Juricic
I'll give it a try again as I am obviously missing something. I am specifically referring to reinstall where REINSTALLMODE has option u meaning: Rewrite all required registry entries from the Registry Table that go to the HKEY_CURRENT_USER or HKEY_USERS registry hive. You are saying that, if I

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Rob Mensching
If a Component condition has already been evaluated it will not be evaluated again (like in repair) unless the Component is marked Transitive. -Original Message- From: Tony Juricic [mailto:tjuri...@tradestation.com] Sent: Monday, February 09, 2009 11:54 To: General discussion for

[WiX-users] Microsoft.Deployment.Compression.Zip issue

2009-02-09 Thread Tony Juricic
I know that Jason sometimes reads this forum but otherwise I am not sure this is the right place to report the following: I was using version 3.0 of Microsoft.Deployment.Compression.Zip in an attempt to extract MSI from self-extracting executable. In particular I used the class ZipInfo, IsValid

[WiX-users] Applying Small Updates by Reinstalling the Product

2009-02-09 Thread Tony Juricic
Is there anybody who had a chance to try the above, as per link: http://msdn.microsoft.com/en-us/library/aa367575(VS.85).aspx I was just unpleasantly surprised that it appears not to work for my MSIs. For example, I had version 5.0.0.12 of one DLL installed. After issuing command line as per

Re: [WiX-users] Microsoft.Deployment.Compression.Zip issue

2009-02-09 Thread Rob Mensching
Bugs can be filed against DTF on the SourceForge bug tracker. -Original Message- From: Tony Juricic [mailto:tjuri...@tradestation.com] Sent: Monday, February 09, 2009 13:56 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Microsoft.Deployment.Compression.Zip

Re: [WiX-users] Applying Small Updates by Reinstalling the Product

2009-02-09 Thread Rob Mensching
First, make sure the Component states are what you expect them to be in the verbose log file. Then look and see if there are any messages explaining why the new files were skipped. -Original Message- From: Tony Juricic [mailto:tjuri...@tradestation.com] Sent: Monday, February 09, 2009

Re: [WiX-users] Solution for VB6 DLL

2009-02-09 Thread Neil Sleightholm
Can you try the -svb6 option on heat e.g. heat.exe file foo.dll -out c:\foo.dll.wxs -svb6 this should remove all the VB6 runtime information from the harvesting. Neil -Original Message- From: Andrew Ziem [mailto:ahz...@gmail.com] Sent: 09 February 2009 18:14 To:

Re: [WiX-users] Solution for VB6 DLL

2009-02-09 Thread Neil Sleightholm
I just tried the code you attached to the bug and it works for me with the -svb6 option. Neil -Original Message- From: Neil Sleightholm Sent: 09 February 2009 22:11 To: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Solution for VB6 DLL Can you try the -svb6 option on heat

Re: [WiX-users] Solution for VB6 DLL

2009-02-09 Thread Rob Mensching
Is there a way to autodetect those issues so -svb6 isn't necessary... or are there side effects to that option? -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, February 09, 2009 14:17 To: General discussion for Windows Installer XML toolset. Subject:

[WiX-users] [Wix-users] Dialogs Don't Detect Property Changes During Installation

2009-02-09 Thread Olex
I'm attempting to show custom install progress, so that I don't just show a progress bar, but also some text control which indicate what step the installation is on. And I would like something more complex that just a single text control which changes its text. My attempt is to place

Re: [WiX-users] Applying Small Updates by Reinstalling the Product

2009-02-09 Thread Wilson, Phil
And look for SELMGR to see if you broke a component rule. Phil Wilson -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, February 09, 2009 3:06 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Applying Small

[WiX-users] Getting File versions

2009-02-09 Thread siaj
Hello, Is there a way we can find a file version dynamically while deployment ?. I have a dll to be deployed to the GAC and the dll version should be updated in the web.config file of the destination server. The issue is that dll version will change with every build and hence the version number

Re: [WiX-users] Getting File versions

2009-02-09 Thread Rob Mensching
You can use $(bind.FileVersion.IdOfFileToGetFileVersionFrom) and the linker will fill in that value with the version of the file. -Original Message- From: siaj [mailto:meabrakada...@gmail.com] Sent: Monday, February 09, 2009 17:17 To: wix-d...@lists.sourceforge.net;

Re: [WiX-users] COM Plus Applications and Major Upgrade

2009-02-09 Thread Fredrik Grohn
The Complus table in MSI just takes all configuration in one big undocumented BLOB. It is not useful for anything else than the MSI's created by exporting a COM+ application from the catalog as far as I know. -Original Message- From: Adam Burton [mailto:adz...@googlemail.com] Sent:

Re: [WiX-users] Problem of CustomAction

2009-02-09 Thread Jonason
For Uninstall: CustomAction Id='InstallService' Directory=SVC ExeCommand='[SVC]InstallService.bat'/ CustomAction Id='StartService' Directory=SVC ExeCommand='[SVC]Wrapper.exe -t [SVC]wrapper.conf' Return='ignore'/ CustomAction Id='UninstallService'

[WiX-users] Extract Binaries at Install Time

2009-02-09 Thread Romeo Salayo Jr.
Hi, I'm trying to extract binaries at install time in able to use it during installation only. I'm using C# DTF, the problem is I can't get Record.GetStream() to work. It always write to a file with [Binary data] and not the stream itself. Can anyone give an example on how to use GetStream()

Re: [WiX-users] Solution for VB6 DLL

2009-02-09 Thread Neil Sleightholm
I can't think of a way to auto-detect VB6 DLLs other than the registry keys being present. We could always enable it and change the option to disable it. The only time I think this would be a problem would be if you were actually harvesting the VB6 runtime. Neil -Original Message- From: