Re: [WiX-users] "String contains" operator in Wix

2008-10-30 Thread hyung
Thanks Rob. I have found the operator >< that I was looking for. Thanks! Rob Mensching-2 wrote: > > The MSI SDK says there is one. > > -Original Message- > From: hyung [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2008 17:52 > To: wix-users@lists.sourceforge.net > Subject:

Re: [WiX-users] Variable Shorcut Name and Upgrading...

2008-10-30 Thread shenlong
Hi guys, I think I got a workaround. It is to remove the files explicitly on install~!!! In addition, I specify the wildcard * so that the product will be removed~!!! With reference to http://msdn.microsoft.com/en-us/library/aa371199(VS.85)

Re: [WiX-users] Variable Shorcut Name and Upgrading...

2008-10-30 Thread Alexander Shevchuk
Hi Tony, What is the layout of your transitive components? What your shortcuts point to - file or folder? Are shortcuts in the same component as files they point to (providing that they point to files, of course)? Are you sure that old components are uninstalled? Alex -Original Messag

Re: [WiX-users] Variable Shorcut Name and Upgrading...

2008-10-30 Thread shenlong
Hi Michael, Issue: On upgrading product, shortcut name Product 5.1 is installed, but shortcut name of 5.0 is not removed during major upgrade. I've followed Alex's guideline in installation forr shortcuts, found here http://blogs.technet.com/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-s

[WiX-users] Shortcuts created in ALLUSER mode invokes MSI

2008-10-30 Thread Arun Kumar A V
Thanks for your reply. Yes, I am infact doing the per-machine mode for creating the UnInstall shortcut . But the problem with HKCU key is, it wouldnt let met do Advertise="Yes". Without advertise, my uninstall shortcut will not be removed on uninstallation , when there more than one version of

Re: [WiX-users] "String contains" operator in Wix

2008-10-30 Thread Rob Mensching
The MSI SDK says there is one. -Original Message- From: hyung [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 17:52 To: wix-users@lists.sourceforge.net Subject: [WiX-users] "String contains" operator in Wix Hi all, Is there any "string contains" operator in Wix? I need to wri

Re: [WiX-users] 3 problems with "integration" of WiX and VS2005 SP1 (fwd)

2008-10-30 Thread Rob Mensching
Sorry, MSBuild/VS is not my forte so I'm not much help on the other issues. -Original Message- From: Curtis Jewell [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 17:22 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 3 problems with "integration

[WiX-users] "String contains" operator in Wix

2008-10-30 Thread hyung
Hi all, Is there any "string contains" operator in Wix? I need to write a condition that checks if a certain property contains a particular string or not. The real situation is I need to find a feature name from AddLocal property. For instance if AddLocal=A,B,C then I need to know whether B is s

Re: [WiX-users] uninstall per user product

2008-10-30 Thread hyung
Thank you very much for the detail information. Thanks, Hyung Buddell, James wrote: > > MsiZap is sort of a last resort tool. What you should do is uninstall > for any accounts that you have access to, and then if the machines still > have product registrations under other inaccessible profile

Re: [WiX-users] Shortcuts created in ALLUSER mode invokes MSI0

2008-10-30 Thread Sébastien Mouren
2008/10/30 Arun Kumar A V <[EMAIL PROTECTED]>: > > > The First link below, only talks about Uninstall shortcut for per-user mode, > this is what i followed to get to where iam now. > The Second link doesnt work. I did do extensive search on the mailing list > before posting it here again. > > An

[WiX-users] Invoking managed console application as Custom Action

2008-10-30 Thread ajay
Hi, I have managed console application which I am trying to invoke from custom action within WIX file (CA type 50). It always fails with Error 1721. I can run the the generated command (with args) from cmd window. Does Windows Installer even supports calling managed cmd line apps from CA? What

Re: [WiX-users] (no subject)

2008-10-30 Thread Alan Sinclair
hopefully this is it: scheduler loadbalance DNE FW1 Eacfilt failover others But I can't figure out how the Value should be specified. thanks

[WiX-users] (no subject)

2008-10-30 Thread Alan Sinclair
Can someone please tell me how to specify the data for a registry Type="multiString" value? I've got a reg file entry like this [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyDev\Parameters] "IMOrder"=hex(7):73,00,63,00,68,00,65,00,64,00,75,00,6c,00,65,00,72,00,0 0,00,\ 6c,00,6f,00,61,

[WiX-users] Major , minor upgrade? Please HELP

2008-10-30 Thread webdefence
Hi Guys I have a question about upgrade , please explain me , coz i cant understand how to organize this :confused: Ok , what i have. one product , with different language packs , i mean i have 3 different msi's , with same GUID , each one support one language , each one could be installed separ

Re: [WiX-users] Problem compiling in VS2005 (wix 3.0.4624)

2008-10-30 Thread Colin Bleckner
That was exactly it, thank you! On Thu, Oct 30, 2008 at 1:09 PM, Jason Ginchereau <[EMAIL PROTECTED]>wrote: > That's a known issue when opening an older .wixproj with a newer build of > WiX. See my blog for an explanation and steps to resolve the issue: > > http://blogs.msdn.com/jasongin/archive/

Re: [WiX-users] How to debug MSI properties?

2008-10-30 Thread Richard
In article <[EMAIL PROTECTED]>, Rob Mensching <[EMAIL PROTECTED]> writes: > Verbose log file gives you that and with recent Windows Installers > (v3+?) it' ll even show you when properties change value. A trick I've employed is to add a "debug" dialog to the UI. Setting a property from the

Re: [WiX-users] How to debug MSI properties?

2008-10-30 Thread Rob Mensching
Verbose log file gives you that and with recent Windows Installers (v3+?) it'll even show you when properties change value. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 13:43 To: wix-users@lists.sourceforge.net Subject: [WiX-users]

[WiX-users] How to debug MSI properties?

2008-10-30 Thread [EMAIL PROTECTED]
Our kit has a feature that's depending on VS90_IDE_VC_PROJECTSYSTEM_INSTALLED being defined. I'm installing onto a VMWare image with VS2008 and (only) Visual C++ installed, and the feature fails to install. The feature that depends on VS2005 seems to install properly onto a similarly configured V

Re: [WiX-users] Error 2769: Custom Action ConfigureSql did not close 5 MSIHANDLEs.

2008-10-30 Thread Jason Li
Thanks Rob. I will try 2.0.5805 first. Thanks, Jason -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 1:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error 2769: Custom Action ConfigureSql did not

Re: [WiX-users] Error 2769: Custom Action ConfigureSql did not close 5 MSIHANDLEs.

2008-10-30 Thread Rob Mensching
You need to upgrade to either: WiX v2.0.5805.0 or WiX v3.0.4624.0 -Original Message- From: Jason Li [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 13:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Error 2769: Custom Action ConfigureSql did not close 5 MSIHANDLEs

[WiX-users] Error 2769: Custom Action ConfigureSql did not close 5 MSIHANDLEs.

2008-10-30 Thread Jason Li
Hi there, We are using WIX 2.0.4701.0 to install our SQL database. We noticed an intermittently installation failure due to the MSIHandle leak as shown below. A quick search surfaces this threading discussing the similar issue: http://n2.nabble.com/ConfigureSql---Assertion-Failed-td690074.html.

Re: [WiX-users] Problem compiling in VS2005 (wix 3.0.4624)

2008-10-30 Thread Jason Ginchereau
That's a known issue when opening an older .wixproj with a newer build of WiX. See my blog for an explanation and steps to resolve the issue: http://blogs.msdn.com/jasongin/archive/2008/07/09/votive-project-platform-configurations.aspx -Original Message- From: Colin Bleckner [mailto:[EMA

[WiX-users] Problem compiling in VS2005 (wix 3.0.4624)

2008-10-30 Thread Colin Bleckner
Hi, I recently upgraded to the most recently weekly build and my installer no longer compiles in Visual Studio 2005. If I attempt a build it just says "== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ==" I've tried everything under the Build menu to try to force a clean

Re: [WiX-users] Registry Key Access rights to service accont

2008-10-30 Thread Sandeep Gautam (HCL Technologies Ltd)
Yes,Got in wix.chm. Regards Sandeep -Original Message- From: Chad Miles [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 11:10 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Key Access rights to service accont Did you think to loo

Re: [WiX-users] INSTALLDIR with another component installed in another directory

2008-10-30 Thread Rob Mensching
That's right. -Original Message- From: Roger Yen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 11:54 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] INSTALLDIR with another component installed in another directory Hi all, I stumbled into a p

[WiX-users] INSTALLDIR with another component installed in another directory

2008-10-30 Thread Roger Yen
Hi all, I stumbled into a problem that I'm not exactly sure what the correct way to fix it. So my installer installs a few files into INSTALLDIR, and also installs another component(shared by other programs) into another directory that's *supposed* to be on the same level as INSTALLDIR

Re: [WiX-users] Registry Key Access rights to service accont

2008-10-30 Thread Ian Elliott (Excell Data Corporation)
Have you searched through the Wix help file using keywords like registry and permissions? -Original Message- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 11:03 AM To: General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] Registry Key Access rights to service accont

2008-10-30 Thread Chad Miles
Did you think to look at the wix doc. There's a & On Thu, Oct 30, 2008 at 2:03 PM, Sandeep Gautam (HCL Technologies Ltd) < [EMAIL PROTECTED]> wrote: > Hi, > > I am creating one registry key under HKLM trough MSI. Now I want to give > access permission to one windows service account at the time

[WiX-users] Registry Key Access rights to service accont

2008-10-30 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I am creating one registry key under HKLM trough MSI. Now I want to give access permission to one windows service account at the time of installation so that account can read that registry. Please help how can I do this. Regards -Sandeep ---

Re: [WiX-users] Writing to an XML Elements Inner Text

2008-10-30 Thread David Gonzalez
Found the problem, I had put all my properties in a separate fragment wix file but it wasn't reading them. It wrote into the inner text when I put the properties inside the main product.wxs. Thanks Again, David -Original Message- From: David Gonzalez [mailto:[EMAIL PROTECTED] Sent: Thurs

[WiX-users] Writing to an XML Elements Inner Text

2008-10-30 Thread David Gonzalez
Greetings to all, I've been looking for an example of how to write into an XML elements inner text. In this even possible with WiX? The node I'm trying to modify is of this sort.. MSCrmServices/2007/CrmService.asmx I am able to arrive at that node but whe

Re: [WiX-users] Upgrade MSI but just one entry in the "Add and remove programs"

2008-10-30 Thread Ian Elliott (Excell Data Corporation)
Bob, You mentioned in your original mail that you were trying a major upgrade. A major upgrade does not use the REINSTALL and REINSTALLMODE parameters. The tutorial is actually correct when it says to change the package GUID for major upgrade. You should assign a package GUID for every new msi

Re: [WiX-users] Shortcuts created in ALLUSER mode invokes MSI0

2008-10-30 Thread Arun Kumar A V
The First link below, only talks about Uninstall shortcut for per-user mode, this is what i followed to get to where iam now. The Second link doesnt work. I did do extensive search on the mailing list before posting it here again. Any other ideas would help.thanks Arun *

[WiX-users] COM+ catalog dupe + ref count on repair

2008-10-30 Thread Graham Harwood
Dear all, Not sure if this is a bug or something specific to my setup. We've been successfully installing our COM+ application with WiX2 and WiX3. Recently someone noted that running repair causes a subsequent remove/install to fail with 'a COM plus application of that name already exists'. Also t

[WiX-users] Property used in Edit Control - How to refresh after changing in CustomAction

2008-10-30 Thread Andrew Kendall
Hi, If I've got a Property associated with a Edit Control field, and I invoke a CustomAction DLL function (say, in response to a PushButton) to change the value of the Property (MsiSetProperty), how do I get the Edit field to reflect the change? It does not seem to happen automatically. Many t

Re: [WiX-users] which bootstrapper do you use?

2008-10-30 Thread Michael Owings
I just wrote my own. All you need is a stub exectuable that knows how to extract and execute resources from its own image, plus a program to embed the resources into the stub. Others have mentioned that winrar has the capability to build a simple bootstrapper exe, custom icon and all. You give

Re: [WiX-users] uninstall per user product

2008-10-30 Thread Sébastien Mouren
2008/10/30 Jon Seanor <[EMAIL PROTECTED]>: > I might be am wrong, but surely any tool that performs cleanup in a > user's profile needs the user's login credentials in order to load their > profile. > How are you going to get those? > > msizap only removes the msi database side of the application (

Re: [WiX-users] RegistrySearch Problem

2008-10-30 Thread Adam Nicol
I tried that but for some reason it just allways shows the hard coded value and not the registry value. -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 30 October 2008 16:28 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Regis

Re: [WiX-users] uninstall per user product

2008-10-30 Thread Jon Seanor
I might be am wrong, but surely any tool that performs cleanup in a user's profile needs the user's login credentials in order to load their profile. How are you going to get those? msizap only removes the msi database side of the application (i.e. component and feature registration). It does n

Re: [WiX-users] RegistrySearch Problem

2008-10-30 Thread Rob Mensching
Don't things work if you just put the defaults in the Property/@Value and nest the RegistrySearch elements under there? -Original Message- From: Adam Nicol [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 08:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] RegistrySea

[WiX-users] RegistrySearch Problem

2008-10-30 Thread Adam Nicol
Hi, I have several custom dialogs in my installer allowing the user to enter SQL Server connection details and active directory settings. I don't want the user to have to re-enter this information each time they install a new version/reinstall, so I have made it so that during the install, each

Re: [WiX-users] uninstall per user product

2008-10-30 Thread Rob Mensching
MsiZap is meant as a last ditch support tool. It isn't intended to be shipped in a product. I wouldn't be surprised if the licensing doesn't allow for the tool to be redisted. -Original Message- From: hyung [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2008 23:04 To: wix-users

[WiX-users] which bootstrapper do you use?

2008-10-30 Thread Jon W
What are you using for a bootstrapper? I've been looking at the wix mailing list, and elsewhere, and it appears as though everybody uses something different. For example, setupbld, msbuild, 3rd party software, homegrown, etc... As a C++ app, I don't need any .net runtime libs, and would like the

Re: [WiX-users] 3 problems with "integration" of WiX and VS2005 SP1

2008-10-30 Thread Rob Mensching
The bug was reactivated yesterday (or the day before). -Original Message- From: Bob Lim [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 02:52 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 3 problems with "integration" of WiX and VS2005 SP1 I have the same first p

Re: [WiX-users] Shortcuts created in ALLUSER mode invokes MSI installer

2008-10-30 Thread Sébastien Mouren
2008/10/30 Arun Kumar A V <[EMAIL PROTECTED]>: > > > After turning on MSI logging, I found that my issue is more complicate. > > > The shortcut is created for a file installed in ALLUSER ( Per Machine) mode, > so I must set Advertise="yes" on the shortcut as shown below. This turns out > be the p

Re: [WiX-users] Working directory of a shortcut

2008-10-30 Thread Sébastien Mouren
2008/10/30 Geert Gerits <[EMAIL PROTECTED]>: > Hi all, > > > > How can I insert a network directory as working directory of a shortcut > in WIX ? (e.g. \\windows_network\working_directory) > > I'm using WiX 3.0.2211.0. > > > > Thanks in advance, > > Best regards, > > Geert > I'm not sure it will wo

[WiX-users] Shortcuts created in ALLUSER mode invokes MSI installer

2008-10-30 Thread Arun Kumar A V
After turning on MSI logging, I found that my issue is more complicate. The shortcut is created for a file installed in ALLUSER ( Per Machine) mode, so I must set Advertise="yes" on the shortcut as shown below. This turns out be the problem later.

Re: [WiX-users] Question regarding the attribute"Win64" in"Component"

2008-10-30 Thread Christopher Karper
It is not possible using MSI. On Thu, Oct 30, 2008 at 2:15 AM, MAKARAND HAZARIKA < [EMAIL PROTECTED]> wrote: > Hello everyone, > > Actually I am new to the world of Wix and Windows Installers. And the > first task I get is to combine a 32bit and a 64bit installer. Now > looking at all the gentlem

Re: [WiX-users] Variable Shorcut Name and Upgrading...

2008-10-30 Thread Michael Owings
I had this problem a while ago. From looking at the logs, it turned out that the underlying file the shortcut referred to could not be uninstalled because of an issue with the old product uninstall. Because of that, the old shortcut was not removed. My guess is that something is breaking on you

[WiX-users] Working directory of a shortcut

2008-10-30 Thread Geert Gerits
Hi all, How can I insert a network directory as working directory of a shortcut in WIX ? (e.g. \\windows_network\working_directory) I'm using WiX 3.0.2211.0. Thanks in advance, Best regards, Geert - This SF

Re: [WiX-users] Variable Shorcut Name and Upgrading...

2008-10-30 Thread shenlong
Hello guys, I'm using the SoftwareName and VersionNo to for the shortcut name on desktop and Program Menu. As you can see, VersionNo is variable,i.e. it changes with new builds. For example, Product 5.0. If I upgrade to Product 5.1, the desktop and Program Menu creates new icons shortcut called

Re: [WiX-users] Changing filename after installation

2008-10-30 Thread Christer Nordvik
Thanks a lot! -Christer On Thu, Oct 30, 2008 at 2:01 PM, <[EMAIL PROTECTED]> wrote: > Hi Christer, > > a very easy way to accomplish this is to store a value for the selected > environment in the GUI to a property. (As you already have done) > > And then use this property as a condition for the

Re: [WiX-users] uninstall per user product

2008-10-30 Thread Buddell, James
MsiZap is sort of a last resort tool. What you should do is uninstall for any accounts that you have access to, and then if the machines still have product registrations under other inaccessible profiles that are stopping you from doing your new install, then you use MsiZap to wipe the machine clea

Re: [WiX-users] Changing filename after installation

2008-10-30 Thread Rob Hamflett
Try Execute="deferred" and sequence it before InstallFinalize. Rob Christer Nordvik wrote: > Hi! > > I have a webservice setup that has 4 web.config files, > .Web..config. One for each environment. I have made a GUI that > lets the user choose which file he wants and have stored the resulting >

Re: [WiX-users] Changing filename after installation

2008-10-30 Thread post
Hi Christer, a very easy way to accomplish this is to store a value for the selected environment in the GUI to a property. (As you already have done) And then use this property as a condition for the component(s) holding the environment specific file(s) for the selected environment. SETUP_CONF

[WiX-users] Changing filename after installation

2008-10-30 Thread Christer Nordvik
Hi! I have a webservice setup that has 4 web.config files, .Web..config. One for each environment. I have made a GUI that lets the user choose which file he wants and have stored the resulting filename in a variable called SETUP_CONFIGFILE. I tried making a Custom Action that copies the .Web.Confi

Re: [WiX-users] Upgrade MSI but just one entry in the "Add and remove programs"

2008-10-30 Thread Bob Lim
Hi Sébastien, Thanks for your reply. I was misled by this tutorial : http://www.tramontana.co.hu/wix/lesson4.php which ask me to change the package GUID as well for major upgrade. And the "REINSTALL=ALL REINSTALLMODE=vomus" which I used as stated in the tutorial, should be "REINSTALL=MyFeature

Re: [WiX-users] Detecting IA64 bit architecture

2008-10-30 Thread Andy2k8
Well the link which you had sent me was talking about using Intel64 in the TemplateSummary Now i know that i can use it in the launch condition as a property :) J. J. Farrell wrote: > > Only if a "better" solution is one which doesn't meet your requirements > ;). Msix64 doesn't tell you anythin

Re: [WiX-users] 3 problems with "integration" of WiX and VS2005 SP1

2008-10-30 Thread Bob Lim
I have the same first problem on debug and release builds with the latest week release on VS2005 SP1. I really hope if it could get fixed soon as I need to build a custom action C++ dll soon. 1>dutil.lib(precomp.obj) : fatal error LNK1103: debugging information corrupt; recompile module Thank

Re: [WiX-users] Upgrade MSI but just one entry in the "Add and remove programs"

2008-10-30 Thread Sébastien Mouren
2008/10/30 Bob Lim <[EMAIL PROTECTED]>: > Dear guys, > > How to achieve an upgrade MSI which only has one entry in the "Add and remove > programs"? Right now, when I do a major upgrade, it adds a new program entry > in the "Add and remove programs". When I do a minor upgrade, I need the old > MS

Re: [WiX-users] Detecting IA64 bit architecture

2008-10-30 Thread Jeremy Farrell
Only if a "better" solution is one which doesn't meet your requirements ;). Msix64 doesn't tell you anything about Itanium; if Msix64 is not defined, you could be on either a 32-bit or an Itanium processor (or running with a version of Windows Installer earlier than 3.1). You were asking about a p

[WiX-users] Upgrade MSI but just one entry in the "Add and remove programs"

2008-10-30 Thread Bob Lim
Dear guys, How to achieve an upgrade MSI which only has one entry in the "Add and remove programs"? Right now, when I do a major upgrade, it adds a new program entry in the "Add and remove programs". When I do a minor upgrade, I need the old MSI at the same location of the upgrade MSI to do it.