Re: [WiX-users] LGHT1055 Warning when linking 2 InstallShield merge modules

2009-07-24 Thread Aris J. Green
Use Orca from the Windows Installer 4.5 SDK and look for that custom action in both of the InstallShield merge modules. I'll bet its in both of those modules. Check the resultant package build in Wix to make sure if you get one of the copies of the functions. Regards, greenaj On Fri, 2009-07-24

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread Blair
Which error are you getting now? ("MyVar must be defined" or "Undefined preprocessor variable '$(var.MyVar)'") Sorry to ask the obvious, but you appear to be including MyApp.variables.wxs but you mention creating a wxi file. Is the wxi file named MyApp.variables.wxs? Most of the time wxi files end

[WiX-users] Resources for Understanding Features

2009-07-24 Thread Castro, Edwin G. (Hillsboro)
What are some good resources for understanding how Features work? Every time I try to read through the Windows Installer documentation I get a headache and feel more confused than when I began… or at least I feel that way as it relates to Features. I’ll explain what I want in case somebody can h

Re: [WiX-users] Question about Create a Shortcut on the Start Menu

2009-07-24 Thread Blair
If you assure that you only install if ALLUSERS=1, then the only reason to write the HKCU registry key is to prevent the ICE report telling you to supply it. The ICE test is there because ALLUSERS can be overridden on the command line. -Original Message- From: Ryan Dai [mailto:ryan...@hotm

[WiX-users] LGHT1055 Warning when linking 2 InstallShield merge modules

2009-07-24 Thread dmcgloin
I'm getting the following warning when creating an MSI with 2 InstallShield merge modules: "warning LGHT1055 : The InstallUISequence table contains an action 'setAllUsersProfile2K' which cannot be merged from the merge module 'C:\Program Files\Company\SDK\Installation\Merge Modules\Spc5.0_Map.msm

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread jo...@msli.com
I appreciate all the help, and I am sorry for not getting. Based on what I understand your advice to be, I have moved the preprocessor variables to a wxi, And the second line of each wxs file now contains an include statement: But I still get the same result. What seems to

Re: [WiX-users] Help: 'Error 26201.Error -2147467259: failed to create SQL database'

2009-07-24 Thread Michael Osmond
John, Firstly what value is the property SQLSERVER being set to, and where is it set? If that is okay, then i suspect it is a SQL Express set up issue. The 0x80004005 error could also be an access denied error from the file system - it does not look like you are specifying a path to where t

Re: [WiX-users] Question about Create a Shortcut on the Start Menu

2009-07-24 Thread Ryan Dai
Any comments? > From: ryan...@hotmail.com > To: wix-users@lists.sourceforge.net > Date: Thu, 23 Jul 2009 06:21:20 +0800 > Subject: [WiX-users] Question about Create a Shortcut on the Start Menu > > > Hi, > > I am checking out wix 3 help doc (How To: Create a Shortcut on the Start > Menu). I a

[WiX-users] Perform conditional Registry Searches

2009-07-24 Thread Tom.Chmielenski
I need to perform a number of RegistrySearches (approx. 200) to determine if a product is installed and some properties about each product installation, such as the product name, the version, and language. For instance, I set the PRODUCT2010_INSTALLED property, if this product is installed

[WiX-users] How to queue the dialog and custom actions?

2009-07-24 Thread Jirong Hu
Hi All What I want is like this: CustomActionA (find all websites) --> ScreenA (ConfigSFSDlg, display all websites and user picks one) --> CustomActionB (find webroot of picked website) --> ScreenB (install the new application under the webroot). My question is how should I queue these screens

Re: [WiX-users] WixUtilExtension documentation

2009-07-24 Thread Blair
Do you want failure instead of success? Or do you want uninstallation instead of success? Please describe your desired result. -Original Message- From: Ole Martin Sørli [mailto:ole-martin.so...@powel.no] Sent: Friday, July 24, 2009 3:01 AM To: wix-users@lists.sourceforge.net Subject: [WiX

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread Blair
Is your component in main.wxs or in some other file. If it is in main.wxs, is it above or below your definition? in wxs works like #define in cpp: you have to define it before you use it, and the definition exists for the file it is in (unless included in other files). That is why .wxi files exis

[WiX-users] problem with ComPlusApplication uninstall

2009-07-24 Thread Tim Johnson
Hi, everything is installing perfectly, but now we're having problems uninstalling! the log file section that shows the failures is below. i'm not sure why, but it seems that the custom action data is being cut off? you can see that the password is cut off... so whatever is after that is lost?

Re: [WiX-users] A call to aspnet_regiis -s fails for newly created site

2009-07-24 Thread Neil Sleightholm
Take a look here http://n2.nabble.com/small-contribution---ASP.NET-2.0-3.5-installs-td209 6727.html I think this is the sort of thing you need rather than running aspnet_regiis Neil -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: 24 July 2009 16:43 To: General d

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread jo...@msli.com
yes. specifically I used it as: Target="[INSTALLDIR]$(var.MyVar)" On Fri, 2009-07-24 at 20:07 +0100, Russell Hind wrote: > On 24 Jul 2009, at 19:59, jo...@msli.com wrote: > > > I have also tried: > > > > > > When you did this, do you use it as: > > $(var.MyVar) > > where you need it? > >

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread jo...@msli.com
In my main wxs, I have which does cause candle to fail if I comment out the define. And in a Component, I have Target="[INSTALLDIR]$(var.MyVar)" If I run candle with out: -dMyVar="foo.exe" I get the error: Undefined preprocessor variable '$(var.MyVar)'. If I run candle with:

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread Russell Hind
On 24 Jul 2009, at 19:59, jo...@msli.com wrote: > I have also tried: > > When you did this, do you use it as: $(var.MyVar) where you need it? Cheers Russell -- ___ WiX-us

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread jo...@msli.com
I have also tried: And But nothing works. On Fri, 2009-07-24 at 11:47 -0700, jo...@msli.com wrote: > I have been struggling to find one simple example of defining a > preprocessor variable in the wxs file. > > Currently, If I Append this to my candle command line: >-dMyVar='foo.e

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread Russell Hind
To define pre-processor variables (equivelant to -d passed to Candle.exe) use Cheers Russell On 24 Jul 2009, at 19:47, jo...@msli.com wrote: > I have been struggling to find one simple example of defining a > preprocessor variable in the wxs file. > > Currently, If I Append this to my candl

[WiX-users] correctly define preprocessor var in wxs?

2009-07-24 Thread jo...@msli.com
I have been struggling to find one simple example of defining a preprocessor variable in the wxs file. Currently, If I Append this to my candle command line: -dMyVar='foo.exe' then references to $(var.MyVar) in wxs work. But no matter how I define MyVar in the main wxs, they are not found. Why

Re: [WiX-users] how to force uninstall before install

2009-07-24 Thread Jim Hewes
This is what I do (although I might be missing something since it's been a while since I had my head into this). This doesn't force users to manually uninstall, but rather it automatically uninstalls the previous version. So it may not be what you want. 1. Increment the installer version number.

Re: [WiX-users] how to force uninstall before install

2009-07-24 Thread Aris J. Green
You might try either using the LaunchConditions table to block the install, or use the Upgrage table and UpgradeCode to uninstall the product at the beginning of the install. These are MSI table, but have corresponding Wix elements. As always, the Wix Reference and the downloaded Windows Installe

Re: [WiX-users] how to force uninstall before install

2009-07-24 Thread Alexander Shevchuk
Search for "Major Upgrade". Alex -Original Message- From: jo...@msli.com [mailto:jo...@msli.com] Sent: Friday, July 24, 2009 8:59 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] how to force uninstall before install I am going thought the process of

[WiX-users] how to force uninstall before install

2009-07-24 Thread jo...@msli.com
I am going thought the process of making msi's for new versions of my software. I would like to force the user to uninstall before installing the new version, so I would like some install dialog to stop them there. Where can I find some info on doing this? CONFIDENTIALITY NOTICE: This electronic

Re: [WiX-users] Setting session variable in managed custom action andaccessing it.

2009-07-24 Thread Balu Swaminathan
Peter: That worked !!! . Thank you for the help. Regards: balu. > Date: Fri, 24 Jul 2009 09:26:53 +0100 > From: pshirtcli...@sdl.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Setting session variable in managed custom action > andaccessing it. > > You are sch

[WiX-users] A call to aspnet_regiis -s fails for newly created site

2009-07-24 Thread Yan Sklyarenko
Hello WiX Community, I have been browsing for the way to register ASP.NET 2.0 script maps for a site through this archive, and found an option to call the aspnet_regiis -s in the following custom action: It is scheduled after InstallFinalize like this: condition here Ho

Re: [WiX-users] Saving ADDLOCAL to registry for major upgrades

2009-07-24 Thread ondrej.zarevu...@fine.cz
Thank you! I've learned about most of the properties, but I still have to learn about the many actions available. Just a reminder for someone else trying to accomplish the same thing: don't forget to add MigrateFeatures="yes" attribute to your element. Ondrej Zarevucky - Original Message -

Re: [WiX-users] Saving ADDLOCAL to registry for major upgrades

2009-07-24 Thread Peter Shirtcliffe
Unless Im missing something, you dont need to do any of that. Just add to your UI and execute sequences. -Original Message- From: ondrej.zarevu...@fine.cz [mailto:ondrej.zarevu...@fine.cz] Sent: 24 July 2009 14:12 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Saving ADDLOCAL

[WiX-users] Saving ADDLOCAL to registry for major upgrades

2009-07-24 Thread ondrej.zarevu...@fine.cz
Hi, I'm trying to remember list of all the installed features so after a major upgrade the user end up with the same features as selected in the original installation. To acomplish this I save the ADDLOCAL property to registry and then read it using RegistrySearch during major upgrade. Sadly, ther

Re: [WiX-users] Error using WindowsVolume predefined folder...

2009-07-24 Thread Michael Clark
As the error message states it's a Public property, thus the reference should be " WINDOWSVOLUME" -Michael -Original Message- From: Ravikumar Gopinath [mailto:bgr...@hotmail.com] Sent: Thursday, July 23, 2009 8:31 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Error using Wi

[WiX-users] Help: 'Error 26201.Error -2147467259: failed to create SQL database'

2009-07-24 Thread John Stevenson-Hoare
I have created a merge module using Wix v3 that successfully installs several databases in to SQL Express 2005 SP3 when integrated in to a Wix generated MSI of my own making. However, when I ship this merge module to my customer, he integrates it into an InstallShield Setup program and it generate

[WiX-users] WixUtilExtension documentation

2009-07-24 Thread Ole Martin Sørli
Hi J Is there any documentation on the WixUtilExtension apart from the schema and sourcecode? I'd like to know what Custom Actions I can reference, and what they do. I'm looking especially for something to use instead of WixExitEarlyWithSuccess, as it does not seem to fit my needs entirely.

Re: [WiX-users] Setting session variable in managed custom action andaccessing it.

2009-07-24 Thread Peter Shirtcliffe
You are scheduling your custom action too late. Feature conditions are evaluated by the CostFinalize action and cannot be changed after that point. Just move your custom action before CostFinalize. -Original Message- From: Balu Swaminathan [mailto:bswa...@hotmail.com] Sent: 24 July 2009