[WiX-users] How to use a text written in an Edit Control?

2006-08-25 Thread Petrut Andrei
Hi. I have a window that I inserted among with the others from Wixui_mondo library in which I ask the user to type a name for a directory that will be installed in IIS. I don't know how to take the paramater of the Edit control and put it in the path to install it with the same name in IIS. I tri

[WiX-users] Delete Virtual Directory

2006-08-25 Thread Petrut Andrei
Hi. Please help and tell me how to delete a virtual directory from IIS when I uninstall the setup? Is there any condition that I forgot? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[WiX-users] Choose the language

2006-08-25 Thread Petrut Andrei
Here it is: I have my setup that I compile using the english language ( I mean wixui_en-us.wxl ). I want to know if there is any solution to compile it in 3 languages ( I want german also and another one ) and to let the setup detect the language in which the computer is running and choose by itsel

Re: [WiX-users] Choose the language

2006-08-25 Thread Rob Hamflett
You have to create a transform for each additional language and a bootstrapper. The bootstrapper detects the system language, applies the relevant transform if need and launches the installer. Rob Petrut Andrei wrote: > Here it is: I have my setup that I compile using the > english language (

Re: [WiX-users] Delete Virtual Directory

2006-08-25 Thread Voranc Kutnik
Hello!Virtual directories are not deleted by default on uninstall. The problem is that uninstaller don't know the name of virtual directory that needs to be removed. So, you have to save virtual directory name into registry on install, so that it is available on uninstall. Here is a sample: ...

[WiX-users] Creation of Setup.exe

2006-08-25 Thread Voranc Kutnik
Hello!creationI created minor upgrade for my software. Upgrade should be run like this:msiexec /i MyInstall.msi REINSTALL=ALL REINSTALLMODE=vomusHow can I create Setup.exe that will execute line described above? Thanks,Voranc -

Re: [WiX-users] Creation of Setup.exe

2006-08-25 Thread Chesong Lee
Microsoft Platform SDK contains an example of setup.exe with source codes.   http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en     Chesong Lee   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Voranc K

Re: [WiX-users] Failed to locate connection for merge

2006-08-25 Thread John Ludlow
Sorry, should have put that in my original mail.   Always the little details...   Anyway, I'm using WiX v2.0.3719.0  Thanks  On 8/24/06, Derek Cicerone <[EMAIL PROTECTED]> wrote: What version of WiX are you using (the exact version)?  That looks like a bug we've fixed already.   Thanks, Derek  

[WiX-users] Bootstrapper that detects the system language

2006-08-25 Thread Petrut Andrei
Tell me please how to create a bootstrapper that detects the system language. Give me some tutorials or references. If you have done this before, show me some examples. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection aroun

Re: [WiX-users] FW: Launching pdf at end of installation

2006-08-25 Thread Crouch, John
Stuart, I suspect you got it going by now but did you try something like     Kind regards, National Oilwell Varco John Crouch Software Engineer/Developer National Oil

[WiX-users] Take data from user at runtime

2006-08-25 Thread Petrut Andrei
Hi. Please help me to understand something. I have a .wxs file in which I create a virtual directory and I want to put in the Alias attribute a value that I take at runtime from the user. That value is written in an edit control in another file, and I want to take it and use it in the first file.

Re: [WiX-users] Bootstrapper that detects the system language

2006-08-25 Thread Chesong Lee
Microsoft Platform SDK contains an example of setup.exe with source codes. http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en You may have to extend the sample to support multiple languages. To obtain the appropriate default LANGID for t

[WiX-users] How to remove any older installed version of the same product

2006-08-25 Thread Petr Vones
How can I completely remove any older version of the product during installation of new version ? Currently I'm always getting: "Another version of this product is already installed ... use Add/Remove ..." error dialog. I know about this article but it does not seem to resolve it: http://www.tra

Re: [WiX-users] How to remove any older installed version of the sameproduct

2006-08-25 Thread Dave Williamson
Steps to create a new setup release: 1. Create a new Product Id GUID. 2. Increment the Product Version (this is the setup version not the app) 3. Create a new Package Id GUID. 4. In the Upgrade section increment the UpgradeVersion Minimum to the same as the Product Version for

[WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread Eric Fesh
I've seen it said often enough that use of InstallUtil (and self-registering components in general) in custom actions isn't a good idea. In my google searches, I have found this quote from Rob to the effect that "My suggestion (which is rarely popular ) is to just do the right thing the first t

Re: [WiX-users] Search for a GAC component

2006-08-25 Thread Kevin Dente
Sorry, bad choice of words there. I really should have said "assembly", not "component". The check would be for a third-party assembly, to ensure that the prerequisites for our product our installed before they can run our installer. Sounds like there's nothing there for that right now. Thanks,Kev

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread John Ludlow
Depending on the version of WiX, you would use either tallow (in 2.0.x) or heat (3.0.x) to generate the registration information.  This dumps a load of stuff into the registry table, essentially mimicking what self-registration does but within the MSI transaction (meaning it gets rolled back during

[WiX-users] Setting a Property based on another Property

2006-08-25 Thread Brad Edwards
During the install the user is asked for the directory where an already existing application is.  The user types in “C:\Program Files\Foo”.  I then set the value of Property “INSTALLDIR”  to be that directory path.  Now that I have that path I want to copy files to a “bin” folder that alrea

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread John Vottero
If services are all you need to worry about then you're in great shape. Just delete all the .NET Installer based classes that are installing your service now and replace it with WiX that looks something like this:

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread Eric Fesh
So tallow works for .NET assemblies? I thought it would only capture that information from COM objects... Or do I need to go to 3.0.x for that? I'd been holding off upgrading until 3.0 stabilized, but I may not have a choice... -- Eric Fesh Customer Support Engineer/Software Test Engineer Verar

Re: [WiX-users] Setting a Property based on another Property

2006-08-25 Thread Eric Fesh
It's kinda funny, but you need to use a custom action to set the property. Apparently MSI won't let you assign a property value from another property to keep an infinite regress from happening. -- Eric Fesh Customer Support Engineer/Software Test Engineer Verari Systems Software, Inc. 110 12th

Re: [WiX-users] Setting a Property based on another Property

2006-08-25 Thread Brad Edwards
You don't happen to have an example of how to do a custom action to do this do you? I'm just learning this wix stuff and have no clue how to do a lot of this. Thanks Eric. Brad -Original Message- From: Eric Fesh [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 12:09 PM To: Brad

Re: [WiX-users] Setting a Property based on another Property

2006-08-25 Thread Eric Fesh
Yeah, it would look something like: Or at least I think that's how it should work. It may be that you have to create a new property to hold the final value... -- Eric Fesh Customer Support Engineer/Software Test Engineer Verari Systems Software, Inc. 110 12th Street North, Suite D103 Birming

Re: [WiX-users] Any idea what might cause this 1603 error or how to figure it out?

2006-08-25 Thread Phil Wilson
This is a list of some of the possible causes for 1603: http://support.installshield.com/kb/view.asp?articleid=Q107182 Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Thursday, August 24, 2006 9:22 PM To: Joe Kaplan Cc: wix

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread Joe Kaplan
Tallow won't reverse engineer Installer classes. You'll need to figure out how the service is actually installed and create the authoring for the ServiceInstall elements. That should not be too hard though. You'll also get a lot more functionality this way, as you can set a lot of things that

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread John Ludlow
No, it works for .NET (COM interop) as well, and in 2.0 - you need to use the -c switch rather than -s.    Actually, I managed to get a little confused between InstallUtil and RegAsm there, and I'm not sure if your service exposes COM interop interfaces - sorry about that.  If it's just a service,

Re: [WiX-users] Search for a GAC component

2006-08-25 Thread Joe Kaplan
This sounds like a slightly hard problem. I think you might need to either have a CA that calls GACUTIL -l and tries to capture the output of it somehow to determine if the assembly is there or have a .NET CA that attempts to load the assembly based on its full name and see if that works, retu

Re: [WiX-users] Any idea what might cause this 1603 error or howto figure it out?

2006-08-25 Thread Joe Kaplan
Thanks Phil. Google turned that one up, as well as something seemingly relevant from the MS KB, but I couldn't find a way to use any of that advice to fix it either. Pretty vexing. We ran out of time to deal with it, so we just moved on. I'm just hoping it doesn't happen again. Joe K. -

Re: [WiX-users] Setting a Property based on another Property

2006-08-25 Thread Brad Edwards
Thanks Eric. With a little tweaking it worked great. It took me a while to realize that I had to execute the custom action. Thanks again. Brad -Original Message- From: Eric Fesh [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 12:18 PM To: Brad Edwards Cc: WiX-users@lists.sourc

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread Eric Fesh
> I hope that helps some. Luckily, you aren't doing perf counters or WMI or > you would be looking at something much more difficult. :) Actually, I may well be... The service in question is an OS monitoring agent. -- Eric Fesh Customer Support Engineer/Software Test Engineer Verari Systems S

Re: [WiX-users] Search for a GAC component

2006-08-25 Thread Kevin Dente
Can't use gacutil - it doesn't get installed with the .NET Framework 2.0 runtime, only with the SDK.  We'll probably just go with the hack-ish solution for now - do a FileSearch in the c:\windows\assembly directory. On 8/25/06, Joe Kaplan <[EMAIL PROTECTED]> wrote: This sounds like a slightly hard

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread Joe Kaplan
Reading existing performance counters and WMI stuff is one thing. Creating new counters and schema is another. If you just need to read, you are fine. You can assume that the counters you need to read are already there. I think you'd know if you had to install any perf counters or WMI, as ther

[WiX-users] Detecting if IIS installed after .NET framework

2006-08-25 Thread Kevin Dente
Our Wix-created MSI creates IIS virtual dirs and registers .NET 2.0 as the handler for those web apps. Generally, it works great. However, there's an obscure error condition where if the user has installed IIS after the 2.0 runtime was installed, ASP.NET is not registered correctly in IIS, and the

[WiX-users] Fwd: Detecting if IIS installed after .NET framework

2006-08-25 Thread John Ludlow
Ooops...-- Forwarded message --From: John Ludlow <[EMAIL PROTECTED]>Date: Aug 25, 2006 9:56 PM Subject: Re: [WiX-users] Detecting if IIS installed after .NET frameworkTo: Kevin Dente <[EMAIL PROTECTED]> The reason for this is that when you install the .NET framework, it runs aspnet

Re: [WiX-users] Fwd: Detecting if IIS installed after .NET framework

2006-08-25 Thread Joe Kaplan
Additionally, if you search the archives of this group, you may be able to find some examples of people who have actually implemented the necesary IIS modifications in WiX to get ASP.NET working. It is essentially just an installation of the ISAPI (if ASP.NET isn't installed at all), installati

[WiX-users] Modifying Windos hosts file?

2006-08-25 Thread Eric Fesh
Another question for you all... The service I'm trying to set up needs an entry added in the Windows hosts file. Is there a clean way to do this with Windows Installer? Everything I'm seeing on Google says "open the hosts file with notepad and type in the entry", so I'm surmising that there isn'

Re: [WiX-users] Example of multiple browse buttons in a single Dialog

2006-08-25 Thread Lee Gavitt
    Sorry about the confusion. Maybe I didn’t clarify something that would have helped you help me. I was asking about any method, means, or example by which I could implement multiple browse buttons. Below is a copy of my question.   > In short, I'm looking for multiple browse buttons

Re: [WiX-users] Example of multiple browse buttons in a single Dialog

2006-08-25 Thread Bob Arnson
Lee Gavitt wrote: IMHO, this example is one that should be used/distributed in the manual or sample code, assuming there isn’t some gotcha that I haven’t learned of yet. Fair enough. Please post a feature request at http://sourceforge.net/tracker/?group_id=105970&atid=64

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread Bob Arnson
Joe Kaplan wrote: > There is a gotcha though with the managed service installer classes. Not > only does it create a service in the service database, but it also installs > an event source for you in the application log for the service to write to. > In order to support this behavior, you'll ne

Re: [WiX-users] Search for a GAC component

2006-08-25 Thread Kevin Dente
Done.On 8/25/06, Bob Arnson <[EMAIL PROTECTED]> wrote: Kevin Dente wrote:> Can't use gacutil - it doesn't get installed with the .NET Framework> 2.0 runtime, only with the SDK.>> We'll probably just go with the hack-ish solution for now - do a> FileSearch in the c:\windows\assembly directory. Ugly.

Re: [WiX-users] InstallUtil considered harmful... What next?

2006-08-25 Thread Joe Kaplan
Bob, you are my hero. :) Here is a WiX fragment produced by tallow of a registry dump of a custom event log and two sources that were produced by a .NET installer class run against the .NET 1.0 from a fairly old VS.NET install project I used in the past with names sanitized: http://schemas.mi