[WiX-users] WixVSExtension and VSTF2005_SP_LEVEL

2008-08-08 Thread William Bartholomew
I have two questions about WixVSExtension: 1. Can you use VSTF2005_SP_LEVEL as a Boolean variable to determine if Team Foundation Client 2005 is installed at all, regardless of its service pack level? 2. Is there an equivalent to determine if Team Foundation Client 2008 is installe

[WiX-users] Installing Visual Studio Add-ins and ICE64 Validation Errors

2008-08-08 Thread William Bartholomew
I'm writing an installer for a Visual Studio add-in which requires me to place a file in %USERPROFILE%\Visual Studio 2005\Addins or %USERPROFILE%\Visual Studio 2008\Addins depending on the Visual Studio version I'm installing for. If this directory doesn't exist, it should be created, but on uninst

Re: [WiX-users] HOWTO:avoid changing the Registry when patching

2008-08-08 Thread John Nannenga
I believe REINSTALLMODE comes into play here. Ref: http://msdn.microsoft.com/en-us/library/aa371182(VS.85).aspx So, in your first post, you had a non-transitive component installing a registry key conditioned on NOT PATCH. Assuming your installation wasn't slipstreaming (applying a patch

Re: [WiX-users] Excluding registry entries from patching

2008-08-08 Thread Tony Juricic
You can always use custom action to write that part of the Registry. However that would not be politically correct. I mean, using CA when MSI database solution is available. Unfortunately sometimes it appears as if MSI people do everything they can to force us to use CAs even in cases which look

Re: [WiX-users] Excluding registry entries from patching

2008-08-08 Thread John Nannenga
You've got a ton of options available to you; since I don't know the details of your installation, I'll try to give you a couple options (pick one [or something similar, or perhaps a hybrid] that makes the most sense for your situation). If none of the below work for you, holler and I'll try to

[WiX-users] Dynamic Text in License Dialog

2008-08-08 Thread Alireza Keyvani
Hi everyone, Wix beginner here! I'm trying to customize the license agreement dialogbox (LicenseAgreementDlg.wxs) in order to add a control (a combo box for example) that lets the user choose the language in which the license agreement is displayed (most probably English or French). So I'm thin

Re: [WiX-users] HOWTO:avoid changing the Registry when patching

2008-08-08 Thread Tony Juricic
I tried adding Transitive attribute to the registry component and that deleted the component when patch was applied. Thus 'NOT PATCH' is a correct condition since transitive components are removed when condition changes from true to false. However, for some reason that I would really love explaine

[WiX-users] Excluding registry entries from patching

2008-08-08 Thread Athay, David
I have a problem where I am specifying a registry entry in a component that writes out the INSTALLDIR property to the registry. My problem is that patches to this MSI always reset the INSTALLDIR to the default value (the Windows Installer default is C:\Program Files) I need to either A) find a wa

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
I am going to use suggestion of Tony (session.Format("[directory]"). Its works on install and uninstall stages. Dima P.S - Tony thanks On Fri, Aug 8, 2008 at 8:53 PM, Dmitry Berkovich <[EMAIL PROTECTED]> wrote: > Alex, > CurrentState = Local > RequestState = Absent > > Dima > > On Fri, Aug 8

[WiX-users] HOWTO:avoid changing the Registry when patching

2008-08-08 Thread Tony Juricic
I am using condition "NOT PATCH" to change the text in UI to say "Patch" instead of "Repair" when patch is applied. That works just fine. Now I want to avoid installing one Registry component during patch application but not during the repair. I used the same condition (i.e. NOT PATCH rather than

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
Alex, CurrentState = Local RequestState = Absent Dima On Fri, Aug 8, 2008 at 8:27 PM, Alexander Shevchuk <[EMAIL PROTECTED]> wrote: > What log is saying about your component? Specifically, > Installed/Request/Action values. > > > > -Original Message- > From: [EMAIL PROTECTED] [mail

Re: [WiX-users] Uninstall of patch running LaunchCondition of RTM msi

2008-08-08 Thread Shawn Dwyer
Thanks Bob. Do I need to do anything special so that MSI won't let the user install the product a second time? Without that Condition entry, the second time I run the installer it goes through the entire UI sequence, and then just disappears with no indication of what went wrong. I like the idea

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Alexander Shevchuk
What log is saying about your component? Specifically, Installed/Request/Action values. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Berkovich Sent: Friday, August 08, 2008 10:20 AM To: General discussion for Windows Installer XML toolset. Su

[WiX-users] Authoring installation of VB6 COM components

2008-08-08 Thread Evans, Jim
I'm pretty sure this has been asked on the list before, but searching didn't yield a definitive answer for me. In my current project, I'm working on migrating our current installer to using MSI via WiX, and I thought I'd try WiX v3. In the project, I have several COM components that were written us

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
Alex, This is exactly what happened, my component was installed and going to be unsiatlled. The problem that my CA need now folder where component was installed. I am looking the way to detect it. Thanks, Dima On Fri, Aug 8, 2008 at 8:01 PM, Alexander Shevchuk <[EMAIL PROTECTED]> wrote: > Dmi

Re: [WiX-users] DTF and .NET Framework on Windows Server 2003

2008-08-08 Thread Jason Ginchereau
Yes. DTF runs each managed custom action in its own dedicated process. Because the process is separate and new, there is no risk of some other CLR version already being loaded into it. Only an unmanaged stub runs in the MSI custom action server process -- that stub coordinates the launch of the

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Alexander Shevchuk
Dmitry, Does description below applies to your situation (from http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx)? "Note that if a component is already installed, and is not reinstalled, removed, or moved during the current installation, the action state of the component is null and

Re: [WiX-users] User permissions not removed on uninstall

2008-08-08 Thread MarkZune
Bob Arnson-6 wrote: > > How are you creating the permissions? > I'm using the PermissionEx element. The [MY_PATH] folder already exists before the install occurs. I'm also adding fileshare permissions to the same folder. Source snippet is below:

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Tony Juricic
I use one of my main installed folders and go back one level to get the root. All installed folders become public properties (property name the same as folder Id) available also during the uninstall if not in deferred CA. -Original Message- From: Dmitry Berkovich [mailto:[EMAIL PROTECTED]

Re: [WiX-users] WiX-users Digest, Vol 27, Issue 25

2008-08-08 Thread Tony Juricic
I use one of my main installed folders and go back one level to get the root. All installed folders become public properties (property name the same as folder Id) available also during the uninstall if not in deferred CA. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [WiX-users] Uninstall of patch running LaunchCondition of RTM msi

2008-08-08 Thread Bob Arnson
Shawn Dwyer wrote: > I'm now in the process of creating our first patch, but unfortunately when I > uninstall the patch this message is being shown and the patch fails to > uninstall. I am able to uninstall the full product which removes the patch > with it. > Uninstalling a patch runs a repai

Re: [WiX-users] Vista uninstall from control panel

2008-08-08 Thread Bob Arnson
Mat wrote: > I've been running into a problem which I haven't been able to solve > related to vista and uninstalling. I have a package which is set to > install per-machine and elevated, which requires the user to be > administrator to install the package. Under windows vista when the user > is

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
Hi boB, It happed NOT in defered CA. Dima On Fri, Aug 8, 2008 at 6:44 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Dmitry Berkovich wrote: >> The problem that >> session.Format("[$component]") return me empty string. (on >> installation phase it contain full path to folder where component >> inst

Re: [WiX-users] User permissions not removed on uninstall

2008-08-08 Thread Bob Arnson
MarkZune wrote: > I'm creating a user ("ServiceUser") as well as specific folder permissions > during my install for "ServiceUser". When I run the uninstall though, > "ServiceUser" is removed, but it appears the permissions that I've created > for "ServiceUser" are still there. How are you creati

Re: [WiX-users] Guidance appreciated on tidying up per machine/per user installations

2008-08-08 Thread Ryan O'Neill
Bob's answer of 'don't bother' seemed more suitable, it being Friday and just gone five PM! Thanks chaps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buddell, James Sent: 08 August 2008 17:03 To: General discussion for Windows Installer XML toolset. S

Re: [WiX-users] Guidance appreciated on tidying up per machine/per user installations

2008-08-08 Thread Buddell, James
You could also use Active Setup to run a tidy-up script for each user. Take a look at http://www.appdeploy.com/articles/activesetup.asp, the structure you'd use is the same though you won't be able to use an MSI command line as the MSI is already uninstalled. Cheers, James -Original Message--

Re: [WiX-users] Ways to lock text edit boxes beside "disabled"?

2008-08-08 Thread Bob Arnson
Roger Yen wrote: > I've been wanting to ask this question for awhile, is there any way to > "lock" text boxes in wix and not make it disabled, ie. the words in it > gets grayed out and I don't want that, I really just want an un-editable > text box that gets a text path from a custom action? >

Re: [WiX-users] Best practices for COM component installation

2008-08-08 Thread Bob Arnson
Evans, Jim wrote: > What are some of the "best practices" for authoring the installation of > COM components? Obviously, I know selfreg is evil. When it comes to the > registration of COM components, should you author the registry entries > within the same Windows Installer component, or as separat

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Bob Arnson
Dmitry Berkovich wrote: > The problem that > session.Format("[$component]") return me empty string. (on > installation phase it contain full path to folder where component > installed). > > Question : what can I do that my CA on uninstall stage will receive > the full path of folder where component

Re: [WiX-users] Guidance appreciated on tidying up per machine/per user installations

2008-08-08 Thread Bob Arnson
Ryan O'Neill wrote: > When I uninstall the app I would like to offer the option to clean these up, > so I guess the uninstall from control panel needs an elevated bootstrapper > (I'll have to look this up) as it would need to enumerate all users and > delete their AppData\MyProduct directories. >

Re: [WiX-users] Ways to lock text edit boxes beside "disabled"?

2008-08-08 Thread Christopher Karper
I don't think so. Changing the usual behavior of the UI is generally considered poor practice. If something looks like an editable textbox, it *should* be an editable textbox. Chris On Fri, Aug 8, 2008 at 11:19 AM, Roger Yen <[EMAIL PROTECTED]> wrote: > Hello, > > > > I've been wanting to ask

[WiX-users] Ways to lock text edit boxes beside "disabled"?

2008-08-08 Thread Roger Yen
Hello, I've been wanting to ask this question for awhile, is there any way to "lock" text boxes in wix and not make it disabled, ie. the words in it gets grayed out and I don't want that, I really just want an un-editable text box that gets a text path from a custom action? Using a sunken lab

[WiX-users] DTF and .NET Framework on Windows Server 2003

2008-08-08 Thread Buddell, James
http://robmensching.com/blog/archive/2007/04/19.aspx The above blog tells us that one of the reasons not to use managed code for DLL CAs is because .NET Framework version 1.1 is always loaded on Windows Server 2003 regardless of the code's required .NET version. I know that DTF addresses the stick

[WiX-users] Guidance appreciated on tidying up per machine/per user installations

2008-08-08 Thread Ryan O'Neill
Hi all, I have an app which includes a printer driver which means it needs admin access to install. As it is a printer driver it can only really be considered a 'per machine' setup as anyone could print to it. When someone uses the printer driver it creates a per user configuration file in

Re: [WiX-users] Using properties in DirectorySearch

2008-08-08 Thread Jeff Eldridge
Sorry for the delay in replying to this. I'm still working through a couple of issues before I can give a definite answer. Cheers, Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: 05 August 2008 15:11 To: General discussion for Windo

[WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
Hi, I have some CA that executed during uninstall (just before RemoveFiles action). My custom action need to know folder where component was installed. The problem that session.Format("[$component]") return me empty string. (on installation phase it contain full path to folder where component ins