[WiX-users] Feature Selection Using ADLOCAL property in WiX

2010-06-07 Thread Bijay Agarwal
I have to create a package with three features FeatureA, FeatureB FeatureC. The Feature selection is a RadioButtonGroup with selectable options being: option 1 : FeatureA,FeatureB FeatureC. option 2 : FeatureB option 3 : FeatureC I have created a Custom Dialog: Property Id=ADDLOCAL Value=ALL/

Re: [WiX-users] Wix 3.0 Merge Module

2010-06-07 Thread Tzvi Tafet
Hi Rob, I looked at the Directory table of the resulting MSI with SuperOrca and MergeRedirectFolder's Directory_Parent = myProd. The problem was the sample I sent you did not replicate a bug that I had in the real merge module. I prematurely closed a directory. But now that we are on the topic,

Re: [WiX-users] error LGHT0001: Unable to cast object

2010-06-07 Thread Francesc Castells
I guess this says a lot about my WIX authoring skills :) I'll provide as much info as I can. Thanks, Francesc On Sun, Jun 6, 2010 at 5:32 PM, Rob Mensching r...@robmensching.com wrote: Wow, haven't seen a bug like that in a very long time. Can you open a bug and provide as much information

[WiX-users] minor upgrade and RemoveExistingProducts

2010-06-07 Thread warne warne
Hi, is it any way possible possible to do a minor upgrade and automatically remove related products in the background? I want to keep the same product code basically. The scenario is I made some bug fixes to our product that dont seem to warrant a major upgrade. My version numbers are

Re: [WiX-users] minor upgrade and RemoveExistingProducts

2010-06-07 Thread Bob Arnson
On 6/7/2010 8:10 AM, warne warne wrote: Hi, is it any way possible possible to do a minor upgrade and automatically remove related products in the background? No, that's a major upgrade. The scenario is I made some bug fixes to our product that dont seem to warrant a major upgrade. My

[WiX-users] Can we control registration of Components from a COM DLL

2010-06-07 Thread vijay chander
Hi All, I'm trying to attain unattended installation using WIX, where I need to read some parameters from .ini file and set the properties to select only some features on installation. I have tried setting Properties using both MsiSetProperty and WcaSetProperty as mentioned below:

Re: [WiX-users] minor upgrade and RemoveExistingProducts

2010-06-07 Thread Pally Sandher
The answer would be no. Changing the Product Code means it's not a Minor Upgrade, it's a Major Upgrade. See - http://msdn.microsoft.com/en-us/library/aa370579.aspx You could deploy the changes as an MSP rather than an MSI. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141

Re: [WiX-users] Feature Selection Using ADLOCAL property in WiX

2010-06-07 Thread Bob Arnson
On 6/7/2010 2:48 AM, Bijay Agarwal wrote: Property Id=ADDLOCAL Value=ALL/ The MSI doc says you should not set ADDLOCAL to all. Use AddLocal in Publish elements instead. Then check a verbose log to see which features are being installed. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Upgrade application hosted on IIS7 fails

2010-06-07 Thread John L Krupka
When are you scheduling the RemoveExistingProducts for the upgrade? I was seeing this problem as well. I am using the MajorUpgrade element and had is scheduled for afterInstallExecute. I moved it to afterInstallValidate (which is the default) and my upgrade worked. Not sure if it will work

Re: [WiX-users] Can we control registration of Components from a COM DLL

2010-06-07 Thread Rob Mensching
Follow the Property value in a verbose log file. That'll tell you what is going on. On Mon, Jun 7, 2010 at 5:19 AM, vijay chander vijaychander2...@gmail.comwrote: Hi All, I'm trying to attain unattended installation using WIX, where I need to read some parameters from .ini file and set the

Re: [WiX-users] error LGHT0001: Unable to cast object

2010-06-07 Thread Rob Mensching
I think it says more about our coding skills. wink/ On Mon, Jun 7, 2010 at 3:58 AM, Francesc Castells fcaste...@dgtexperts.comwrote: I guess this says a lot about my WIX authoring skills :) I'll provide as much info as I can. Thanks, Francesc On Sun, Jun 6, 2010 at 5:32 PM, Rob Mensching

Re: [WiX-users] Bug in IIS:WebSite or IIS:WebAddress ?

2010-06-07 Thread Rob Mensching
At this point, it sounds like a bug. On Thu, Jun 3, 2010 at 7:23 PM, Chong Li chon...@microsoft.com wrote: I just tried 3.5.1728.0 downloaded from http://wix.sourceforge.net/releases/ But it still didn't work. The webaddress with the specified ip and port already exists but it seems that

Re: [WiX-users] End dialog UI

2010-06-07 Thread Pratapa Reddy Sanaga
I'm hitting some issues with localization. I created error 25001 as follows and called MsiProcessMessage from a custom action: UI Error Id=25001!(loc.Error_25001)/Error /UI And created a file named wix_eng.wxl with the following content ?xml version=1.0 encoding=utf-8? WixLocalization

Re: [WiX-users] minor upgrade and RemoveExistingProducts

2010-06-07 Thread Castro, Edwin G. (Hillsboro)
In other words, Minor Upgrades are not allowed to RemoveExistingProducts. You need a Major Upgrade to do that (requiring a change in ProductCode). Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider

Re: [WiX-users] Upgrade application hosted on IIS7 fails

2010-06-07 Thread Chilaveg Poug
Bingo! Thanks John the issue is resolved. I had RemoveExistingProducts After=InstallInitialize, now with InstallValidate upgrade works. Thanks a lot! -Original Message- From: John L Krupka [mailto:john.kru...@nmwco.com] Sent: Monday, June 07, 2010 18:12 To:

[WiX-users] Use a custom localization file to overwrite default for error code

2010-06-07 Thread pmarkey
In our project using light we reference two localization files: CUSTOM_WixUI_en-us.wxl and WixUI_en-us.wxl In most cases we create a custom localization and place them in the CUSTOM_WixUI_en-us.xml and then reference them when necessary. In this instance I want to modify the text of an error

Re: [WiX-users] Upgrade application hosted on IIS7 fails

2010-06-07 Thread John L Krupka
Glad it worked for you. I am not so sure I am convinced that there is not a bug as it should work with the different schedule types or a compiler should be thrown for invalid ones. If it is a bug, at least there are options. -- View this message in context:

Re: [WiX-users] ProgramFilesFolder and ProgramFiles64Folder, GUIDs and merge modules

2010-06-07 Thread Blair
They have the same GUID because they both are related to the same Merge Module (the guid is your merge module's guid). The warning is ignorable because the two properties don't depend on each other. Mergemod.dll from Microsoft's own SDK is what creates those actions, and I don't know of a way to

Re: [WiX-users] Do UFOs visit Install land?

2010-06-07 Thread Tony Juricic
Thanks Sascha! So far we had 40 users with vcredist_x86.exe install problem. All Windows 7 but not only 64 bit. It is interesting, but not yet enlightening to me, how some issues got solved. Quite a few users run vcredist_x86.exe manually, with full UI. Normally it is run silently by our setup

Re: [WiX-users] Languages attribute of Packages element

2010-06-07 Thread Blair
See http://blogs.msdn.com/b/heaths/archive/2006/10/25/how-windows-installer-uses -languages.aspx for a really good analysis on how these two values are used. packa...@languages becomes the PID_TEMPLATE value that Heath mentions (defaults to the produ...@language value), while the produ...@language

Re: [WiX-users] Can we control registration of Components from a COM DLL

2010-06-07 Thread Blair
When and in which table(s) is your DLL sequenced? What does the installation log say? -Original Message- From: vijay chander [mailto:vijaychander2...@gmail.com] Sent: Monday, June 07, 2010 5:20 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Can we control registration of

Re: [WiX-users] End dialog UI

2010-06-07 Thread Pratapa Reddy Sanaga
Please ignore the previous mail about localization issues. I was using light.exe from Wix V2.0, so I was not seeing localized strings. Once I started using Wix 3.0 toolset, I'm able to see the localized texts. Thanks for the help folks! Thanks Blair and Nick! On Mon, Jun 7, 2010 at 7:57 AM,

Re: [WiX-users] End dialog UI

2010-06-07 Thread Blair
I don't know if it as simple as removing the quotes or not: UI Error Id=25001!(loc.Error_25001)/Error /UI Also, your light.exe commandline looks more like WiX v2 instead of WiX v3. -Original Message- From: Pratapa Reddy Sanaga [mailto:pratap.san...@gmail.com] Sent: Monday, June

Re: [WiX-users] minor upgrade and RemoveExistingProducts

2010-06-07 Thread warne warne
Ok, thanks all for clarifying anyway. cheers. _ http://clk.atdmt.com/UKM/go/195013117/direct/01/ -- ThinkGeek and

[WiX-users] Transforms in Wix 2.0

2010-06-07 Thread Pratapa Reddy Sanaga
Hi, Does Wix 2.0 have support for creating transforms? I see that Torch tool has been introduced in Wix 3.0. How did Wix 2.0 users create transforms? Also, !(loc.StringIdForError) format for custom error message localization doesn't work when the MSI is created with Wix 2.0 tools. Maybe Wix 2.0

[WiX-users] Creating a scheduled task using wix installer after running a setup.msi file

2010-06-07 Thread maheshguru
Hi I am mahesh, I am working on a Wix project but I am not able to add schedule tasks to it. Here is my code. Please help me out. here is my code, CustomAction Id=CreateScheduledTask Return=check Directory=ProgramFilesFolder ExeCommand= schtasks /create

Re: [WiX-users] End dialog UI

2010-06-07 Thread Pratapa Reddy Sanaga
The issue was that I was using Wix V2 version of light.exe. Could you please provide me a pointer to the syntax for doing the same with Wix v2 version? I'm guessing there should have been some way to do the string localization with V2 too... On Mon, Jun 7, 2010 at 9:56 AM, Blair os...@live.com

Re: [WiX-users] End dialog UI

2010-06-07 Thread Blair
It is extremely similar but the XML namespaces changed between v2 and v3, making identical sources incompatible. -Original Message- From: Pratapa Reddy Sanaga [mailto:pratap.san...@gmail.com] Sent: Monday, June 07, 2010 1:00 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Transforms in Wix 2.0

2010-06-07 Thread Blair
In v2 it was $(loc.StringId). That was changed to !(loc.StringId) in v3 (IMHO to make it more obvious when the replacement happens [precompile vs. late-stage linking/binding]). V2 users must use MSI-SDK tools for creating transforms. See MSDN for examples. -Original Message- From:

[WiX-users] What happened to 3.0?

2010-06-07 Thread gapearce
I see that the source tree moved from SourceForge to codeplex YESTERDAY. But on the 3.5 stuff is on codeplex. Where did the 'stable' release of 3.0 go? Today I couldn't load my wix project in VS2008 for some reason. I got a message like this:

Re: [WiX-users] Creating a scheduled task using wix installer after running a setup.msi file

2010-06-07 Thread Neil Sleightholm
I think the problem is that you are not specifying the full path to schtasks. I do something similar for a non-public application in the following way: !-- Embed a copy of schtasks -- Binary Id=schtasks SourceFile=$(var.ProjectDir)\Support\schtasks.exe / CustomAction Id=CreateMaintenanceTask

Re: [WiX-users] Signing of MSI / EXE + DLLs inside of MSI ?

2010-06-07 Thread Jacques Eloff
If the DLLs go into the GAC then they must be signed. Jacques On Thu, Jun 3, 2010 at 10:04 AM, Pally Sandher pally.sand...@iesve.comwrote: Sign your MSI to make the UAC prompts look prettier. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141

Re: [WiX-users] What happened to 3.0?

2010-06-07 Thread Neil Sleightholm
V3.0 is on the main Codeplex site: http://wix.codeplex.com or here: http://wix.sourceforge.net/releases/3.0.5419.0/ This is in the readme.htm that is on the SourceForge site. Neil -Original Message- From: gapearce [mailto:mr_gapea...@yahoo.com] Sent: 07 June 2010 22:02 To:

Re: [WiX-users] What happened to 3.0?

2010-06-07 Thread gapearce
Thanks Neil - I found it. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-What-happened-to-3-0-tp5151154p5151179.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] I broke my project somehow...

2010-06-07 Thread gapearce
Somehow I broke my VS2008 project and I can't load my wixproj any more. I'm getting the following error: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n5151101/error.jpg Reinstalling 3.0 didn't help. Any suggestions on how to fix this? -- View this message in context:

Re: [WiX-users] Signing of MSI / EXE + DLLs inside of MSI ?

2010-06-07 Thread Wilson, Phil
If the issue is that the program says it's not signed, then you can sign it, and if you're into signing then sign everything with your own certificate, which I assume is A's, including the MSI file. Can company B sign the content, even after *.msi is created / delivered ? Well yes, but

[WiX-users] C++ Dependency Help

2010-06-07 Thread Christopher Painter
I have a C++ dependency issue that I'm trying to figure out.  A.DLL depends on:   ( compiled by us using VS2008 )     MSCOREE.dll      KERNEL32.dll     MSVCM90.DLL 9.0.21022.8 MSVCR90.dll 9.0.21022.8 MSVCP90.dll 9.0.21022.8 B.DLL B.DLL depends on:  ( compiled by third party using

Re: [WiX-users] C++ Dependency Help

2010-06-07 Thread greenaj
To make things even more interesting, sometimes there are type library and COM dependencies. Also some DLL's could be delay-loaded or dynamically linked to. The Sysinternals depends tool is a great help. It is best just to bootstrap the C++ runtime (.MSI) packages. Avoid the merge modules

[WiX-users] ICE48: Directory 'INSTALLDIR' appears to be hardcoded in the property table to a local drive, except it's not.

2010-06-07 Thread Andrew Hammond
I have the following error (treating warnings as errors, warning level pedantic): ICE48: Directory 'INSTALLDIR' appears to be hardcoded in the property table to a local drive. However INSTALLDIR is a property that I expect to always pass in to msiexec at install time. How can I either fix the

Re: [WiX-users] C++ Dependency Help

2010-06-07 Thread Kelly . Leahy
Have you used fuslogvw (the fusion log viewer) to try to see what's going on, or the sxstrace tool? I'd recommend looking at the output of sxstrace and/or fuslogvw to see what's happening. I'm pretty sure it'll be enlightening. Kelly Christopher Painter chr...@deploymentengineering.com

Re: [WiX-users] C++ Dependency Help

2010-06-07 Thread dB .
Isn't depends simply busted for WinSxS? I assume the application doesn't run? Just in case, if those A.DLL and B.DLL are custom actions this won't work - you have to install the CRTs outside of the MSI (something about loading per-process). dB. @ dblock.org Moscow|Geneva|Seattle|New York

Re: [WiX-users] Use a custom localization file to overwrite default for error code

2010-06-07 Thread Bob Arnson
On 6/7/2010 12:13 PM, pmarkey wrote: Is there a way to ensure the system will use the custom version of Error1730 instead of the default version found in the WixUI_en-us.wxl file without modifying the default version directly? Just include it without the Overridable attribute; it will

Re: [WiX-users] Optional Custom Actions?

2010-06-07 Thread Bob Arnson
On 6/7/2010 8:58 PM, Manuel Aude wrote: Property Id=DOTNET35SP1INSTSomeDir\dotnetfx35.exe/Property That won't work -- you can't install the .NET Framework as a custom action. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] ICE48: Directory 'INSTALLDIR' appears to be hardcoded in the property table to a local drive, except it's not.

2010-06-07 Thread Rob Mensching
Don't put anything in the Property table. If you're always going to pass it in, you don't need it in the Property table. On Mon, Jun 7, 2010 at 5:49 PM, Andrew Hammond andrew.george.hamm...@gmail.com wrote: I have the following error (treating warnings as errors, warning level pedantic):

Re: [WiX-users] Alternative to dotNetInstaller for chaining MSI's?

2010-06-07 Thread Sascha Beaumont
Yes, but nothing free I'm aware of :) We use IRMakeBootstrap that is a component of MSI Factory (http://www.indigorose.com/products/msi-factory/) - you don't need to use MSI Factory, the bootstrapper is a self-contained component that can be integrated into any build process. Unfortunately an MSI

Re: [WiX-users] Optional Custom Actions?

2010-06-07 Thread Manuel Aude
Oh I see. But could you please tell me if there's a way to do it with WiX, then? Thanks -- On 6/7/2010 8:58 PM, Manuel Aude wrote: Property Id=DOTNET35SP1INSTSomeDir\dotnetfx35.exe/Property That won't work -- you can't install the .NET Framework as a custom action. --

Re: [WiX-users] Can we control registration of Components from a COM DLL

2010-06-07 Thread vijay chander
Hi, I'm using the following code snippet inside a function to set the property inside COM DLL: hr = WcaSetIntProperty(LPROPNAME, 1); ExitOnFailure(hr, Failed to set PROPNAME property value); I'm calling this function from the WIX code using Custom Action DLL Entry. Snippet: Property Id