Re: [WiX-users] Light error for COM dll with multiple prog id's for thesame class

2010-09-17 Thread Renegade Angel
The bug report can be found here: https://sourceforge.net/tracker/?func=detail&aid=3068533&group_id=105970&atid=642714 What kind of upgrade problems could I run into exactly ? Thanks in advance. JB 2010/9/15 Bo

[WiX-users] Having to click twice to proceed.

2010-09-17 Thread Mark
Hi all, I've made a copy of the wixui_mondo.wxs file to customize. I've changed the SetupType dialog to goto one dialog or another depending on a condition determined by a registry entry: 1 1 (LEGACY_APPDATA = "") AND (WixUI_InstallMode = "InstallCustom" OR WixUI_InstallMode = "

[WiX-users] Having to click twice to proceed.

2010-09-17 Thread Mark
Hi all, I've made a copy of the wixui_mondo.wxs file to customize. I've changed the SetupType dialog to goto one dialog or another depending on a condition determined by a registry entry: 1 1 (LEGACY_APPDATA = "") AND (WixUI_InstallMode = "InstallCustom" OR WixUI_InstallMode = "

[WiX-users] Patch - no valid sequence could be found for the set of patches

2010-09-17 Thread Tomas Kubik, systemart s.r.o.
Hi, I have a big problem for me with installation of patch and i cant find any solutions for this. I use Wix 3.0 and its new patch system. I have following code parts : Old.wxs is almost the same like Fixed.wxs (only a few changes in components and Product Version 3.6.0 => 3.7.0) : ...

Re: [WiX-users] Having to click twice to proceed.

2010-09-17 Thread Mark Simonetti
PS - it only seems to do it when the LEGACY_APPDATA is not set (i.e. the registry search fails). Thanks, Mark. -- On 17/09/2010 10:36, Mark wrote: >Hi all, > I've made a copy of the wixui_mondo.wxs file to customize. I've changed > the SetupType dialog to goto one dialog or another depend

Re: [WiX-users] Having to click twice to proceed.

2010-09-17 Thread Pally Sandher
Try changing your conditions to (LEGACY_APPDATA) AND (WixUI_InstallMode = "InstallCustom" OR WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete") and (NOT LEGACY_APPDATA) AND (WixUI_InstallMode = "InstallCustom" OR WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode

Re: [WiX-users] OpenFileDialog fails in Win7

2010-09-17 Thread MikeR
I ran into this same problem when trying to use OpenFileDialog(). You need to make a new thread with a different appartment type for the UI to show. Here is a sample of what I did to make it work. // create a new thread with appropriate apartment state to launch UI FileBrowser fileBrowser =

[WiX-users] problem with InstallExecuteSequence on Change option.

2010-09-17 Thread vijay chander
Hi All, The issue which i was facing from long time is sequencing deletion and installation of features in Install execute sequence on Change option. *Scenario:* I have 2 features(both are services), and i'm following below steps for getting top on to my issue: 1. Install only one feature lets s

Re: [WiX-users] OpenFileDialog fails in Win7

2010-09-17 Thread Steve Green
That's great Mike, thanks, I'll give it a go. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/OpenFileDialog-fails-in-Win7-tp5538592p5542668.html Sent from the wix-users mailing list archive at Nabble.com. --

[WiX-users] Way to reference file in a MergeModule from a ProductPackage

2010-09-17 Thread Heiko Ahrens
Hello, I'm looking for a way to reference a file that resides in a MergeModule that is included in my ProductPackage. Precisely I want to set prod...@version to the version of a distinct file from the merge. Is there a notation for !(bind.fileVersion.xxx) to archive this, or any other way

Re: [WiX-users] Having to click twice to proceed.

2010-09-17 Thread Mark Simonetti
Hi Pally, Thanks for your response. It hasn't made any difference though :-( Nothing extra appears in the log between the first click and the second click.. Mark. On 17/09/2010 12:53, Pally Sandher wrote: > Try changing your conditions to > (LEGACY_APPDATA) AND (WixUI_InstallMode = "InstallCu

Re: [WiX-users] OpenFileDialog fails in Win7

2010-09-17 Thread Steve Green
IT WORKS!! I have to do a little tidying up and add the code to set my WIX property with the selected file but the dialog now appears! Thanks very much for your help Mike, I think I may be able to finish the week on a high after all! -- View this message in context: http://windows-installer-xml

[WiX-users] Light error specifying an additional .cub file

2010-09-17 Thread OBroin, Proinsias
Hi All, I get the following errors when I try to specify a cube file containing some ICE's when linking my WiX project. Error 1: light.exe(0,0): error LGHT0216: An unexpected Win32 exception with error code 0x65B occurred: Function failed during execution Error 2: light.exe(0,0): error LGHT101

Re: [WiX-users] problem with InstallExecuteSequence on Change option.

2010-09-17 Thread Pally Sandher
Sounds to me a lot like the symptoms of Component Rules violations. Are there any common files, registry keys, etc. between feature1 & feature2? If so have you duplicated the code for them? What's a verbose log show when you do the Change operation? Does it try to start the service & fail or does

Re: [WiX-users] Having to click twice to proceed.

2010-09-17 Thread Pally Sandher
I didn't expect that to help much to be honest. WiXUI_InstallMode isn't being set until you click the button the first time on the SetupTypeDlg as your logs & the SetupTypeDlg.wxs in the WiX sources will show. You need to remove the checking of the WiXUI_InstallMode property from the SetupTypeDlg

Re: [WiX-users] ICE Validation and MSI failure 2738

2010-09-17 Thread Anthony Wieser
I tried reregistering the script DLL, but that didn't help. Weird: I just went back and looked for "HKCU\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" and sure enough, it was back (though I'm sure I deleted it yesterday). Anyway, deleted again today, and now it's all working ag

Re: [WiX-users] ICE Validation and MSI failure 2738

2010-09-17 Thread Wilson, Phil
Later versions of the OS have resource protection that includes protected registry keys as well as system files, Windows Resource Protection. I can believe that if you deleted that key the OS would notice and restore it, just like it would a missing file. Phil _

Re: [WiX-users] light.exe -ai switch questions

2010-09-17 Thread Bob Arnson
On 15-Sep-10 14:58, jhennessey wrote: > It seems that lit.exe includes all project references in the resulting > library(?) I don't think it should be this way though. It's valid to create a library from the contents of another library. I'm not sure how we'd support both, but feel free to file

Re: [WiX-users] Warning 21 File in Component was changed, but the KeyPath file was not

2010-09-17 Thread Bob Arnson
On 16-Sep-10 09:08, Oleksandr Y. Nechyporenko wrote: > Since RegistryValue allowed as KeyPath, there should be way to notify that > KeyPath file was changed, but I can't understand how to do it. It's allowed but that doesn't mean it's a good choice. If you want to create patches, use one file p

Re: [WiX-users] ComboBox question

2010-09-17 Thread Bob Arnson
On 16-Sep-10 14:00, Michael_A wrote: > What is " set the property to the associated value" mean, if its > SQLINSTANCENAME initially I have no idea what the values are. Selecting an item in a combo box sets the combo box's property to the value of the item (separate from the text). The revert i

Re: [WiX-users] How to refer WIX properties within .wxs files

2010-09-17 Thread Bob Arnson
On 16-Sep-10 09:58, Nick Ramirez wrote: > 2. Use the CustomAction element with Id, Directory and Value attributes to > set the path of the directory during the Execute sequence Or SetDirectory. -- sig://boB http://joyofsetup.com/ --

[WiX-users] Same Component GUID, different key path

2010-09-17 Thread Sohail Somani
What are the implications of two files having the same component GUID but different key paths in different installers? Some background: * Release N-1 has a COM component with component guid G and the key path COMDll${N-1}.dll with related registry keys as part of the component * Release N ha

Re: [WiX-users] Warning 21 File in Component was changed, but the KeyPath file was not

2010-09-17 Thread Oleksandr Y. Nechyporenko
Bob, Sure we can create one component per file. But in this case I can't understand what is a sense in components at all? I've assumed that it is a good idea to group files which used for same function into one component. Anyway it seems to be a problem with pyro.exe when RegistryValue is used as

Re: [WiX-users] Light error for COM dll with multiple prog id's for thesame class

2010-09-17 Thread Bob Arnson
On 17-Sep-10 03:23, Renegade Angel wrote: > kind of upgrade problems could I run into exactly ? IDs must be stable. -- sig://boB http://joyofsetup.com/ -- Start uncovering the many advantages of virtual appliances an

[WiX-users] How WiX resolve that file was changed when creates patch

2010-09-17 Thread Oleksandr Y. Nechyporenko
Hello, I've noticed one strange thing. When text file (for example html file) was changed but it's size wasn't changed it will not be included to patch. For example, if I change 2 symbols to other 2 symbols, WiX don't detect that file changed and not include it to patch. Are there way to f

Re: [WiX-users] How to conditionally check/uncheck a checkbox

2010-09-17 Thread gapearce
Nick! That works exactly the way I'd like it to... I really appreciate your help! Thanks! Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-conditionally-check-uncheck-a-checkbox-tp5539262p5544015.html Sent from the wix-users mailing

Re: [WiX-users] How WiX resolve that file was changed when creates patch

2010-09-17 Thread Tony Juricic
MSI calculates the hash of data files and, if hash is different, patch will update the older file. However, that is only in the case that file creation and modification time&date are identical. When time & date are not identical, MSI assumes that file was touched by the user and won't patch it.

Re: [WiX-users] How does patching decide which files to include in msp?

2010-09-17 Thread Tony Juricic
These are not WiX rules but MSI rules and are documented on MSDN site, somewhere in install patching section. -Original Message- From: Travis Gaff [mailto:tra...@pc-doctor.com] Sent: Thursday, September 16, 2010 12:48 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How does p

Re: [WiX-users] How does patching decide which files to include in msp?

2010-09-17 Thread Travis Gaff
Thanks for the reply. Just to be clear this is not an install time issue in which certain files are not updated because their modification times have changed. I am able to extract the .msp file immediately after creation and confirm that files are not included that I wish to include. Applying the

[WiX-users] How to allow 32-bit installer to write to C:\Program Files

2010-09-17 Thread garnold
Hi I am creating an installer that needs to install some .war files in a servlet engine directory. In the installer, I am prompting for the location of their installed servlet engine (for example, Apache Tomcat). The problem occurs when they have a 64-bit computer with a 64-bit servlet engine i

Re: [WiX-users] How to allow 32-bit installer to write to C:\Program Files

2010-09-17 Thread Christopher Painter
Officially it's not possible in a 32bit install but unofficially ( and at your own risk ) I found a way.    Convert the C:\Program Files to C:\Progra~1 and you'll sneak past Windows Installer trying to "fix" it for you.   Christopher Painter, Author of Deployment Engineering Blog Have a hot tip,

[WiX-users] Meet the new GAC

2010-09-17 Thread Christopher Painter
I only recently noticed that .NET 4.0 has a "new GAC"   ( BTW, wtf?  I gues Global doesn't really mean Global? ) But I'm wondering,  what does this mean to me as a Setup guy?   Does the MSI support this?  If I drop SN assemblies into my WiX and use MsiPublishAssemblies will they end up in the r

[WiX-users] Problem with InstallExecuteSequence on Change option.

2010-09-17 Thread vijay chander
Hi All, The issue which i was facing from long time is sequencing deletion and installation of features in Install execute sequence on Change option. *Scenario:* I have 2 features(both are services), and i'm following below steps for getting top on to my issue: 1. Install only one feature lets s