Re: [WiX-users] Port monitor + printer driver

2007-04-10 Thread Stefan Pavlik
Hi Trevor,... Trevor Clifton wrote: > DPInst.exe is the round about way of doing this when using WiX. > > Specifically, DIFxApp is the easies way to install drivers correctly using > WiX. > > If you have 2 .inf files, one to describe the Port driver, and the other to > describe the printer dri

Re: [WiX-users] Install/Uninstall Conditions

2007-04-10 Thread Bob Arnson
Bill Canning wrote: I have a problem though. If I uninstall in a UI level < 5 (e.g., from Add/Remove Programs), this feature is *not* being uninstalled. I understand that this is because the conditions operate on both install and uninstall. My problem is that I can't figure out a way to sa

Re: [WiX-users] Can a property be used instead of a string for source attribute

2007-04-10 Thread Bob Arnson
Nosherwan Ghazanfar wrote: I have just started using WiX and I was wondering if there is a way to define and use properties as source attribute values instead of providing fully qualified file names as strings. Not properties -- they're purely a build-time concept -- but check out the "Pr

Re: [WiX-users] SelectionTree example?

2007-04-10 Thread Bob Arnson
Alex Steen wrote: > However, when I click the expand arrow on the > Required Files item, I get a UIText table not found message. I'm sorry > for all of the basic questions, but does anyone know how I can take care > of that problem? > If you use the WixUI dialog library, you get the necessary

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Bob Arnson
Chris Bardon wrote: > Is there a way to do this, or do I have to explicitly list every feature > when I use ADDLOCAL? > When you specify ADDLOCAL (or any of the other 10 properties that control feature selection), MSI sets the Preselected property. The SDK implies but doesn't explicitly state

Re: [WiX-users] Survey on technique

2007-04-10 Thread Bob Arnson
Eddleman, Don wrote: Bob, yes I'm talking about Hxs files (this was called Help2 as opposed to Help1 [chm file] within Microsoft and other circles) or some say MSDN and HTML. When you generate the MSDN content it creates html bits that are referenced in the index and collections file. For examp

[WiX-users] Can a property be used instead of a string for source attribute

2007-04-10 Thread Nosherwan Ghazanfar
Hi, I have just started using WiX and I was wondering if there is a way to define and use properties as source attribute values instead of providing fully qualified file names as strings. I want to do this, because once I change from the debug version to the release version I will have to manuall

[WiX-users] Install/Uninstall Conditions

2007-04-10 Thread Bill Canning
All, I am trying to do something a little unique and it's got me a bit confused: When installing interactively, I want to provide an option to install all features of the package When installing non-interactively, I want to only install the main feature unless a command line parameter is set (i

Re: [WiX-users] Create new IIS WebSite

2007-04-10 Thread Rob Mensching
There should be more information than just "Failed to read IIsWebs table" in the verbose log file. Can you share that? From: Marc McClure Sent: Tuesday, April 10, 2007 3:57 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Create new IIS WebSite We are trying to cre

Re: [WiX-users] Create new IIS WebSite

2007-04-10 Thread Marc McClure
We are trying to create a new website in IIS using the Website tag. We are trying create a new website (not the default website) with a different IP and port. "Failed to read IIsWebs Table (-2147023728 )" I think it is an error with the Server Custom Actions DLL scaexec.dll - probably an IIS e

Re: [WiX-users] Create new IIS WebSite

2007-04-10 Thread Rob Mensching
It seems like the problem in this thread has morphed a ways. Can you be specific about what error messages you are getting (verbose log file captures are helpful) and what you are trying to accomplish now. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc McClure Sent: Tuesday

Re: [WiX-users] Create new IIS WebSite

2007-04-10 Thread Marc McClure
The website problem is still existing for us in builds v2.0.5206.0 and v2.0.4820.0 if we try to create a website with a different IP. It gives us the IIS error (2147024774). Is this still a known issue? Are others experiencing this issue or is there a workaround? Thanks. Re: [WiX-users] C

Re: [WiX-users] IAssemblyCacheItem Commit failed with 0x80131047

2007-04-10 Thread Wilson, Phil
Looking at Aaron Stebner's blog on these issues, that error is: "Failed to install assembly '[2]' because of invalid file or assembly name. The name of the file must be the name of the assembly plus .dll or .exe." (the equivalent of fusion error code 0x80131047 - FUSION_E_INVALID_NAME during inst

Re: [WiX-users] SelectionTree example?

2007-04-10 Thread Alex Steen
Ok, yes I had been through that tutorial before, but I went back and tried again and I managed to get a form with a selection tree in it to display (finally!). However, when I click the expand arrow on the Required Files item, I get a UIText table not found message. I'm sorry for all of the basic

[WiX-users] IAssemblyCacheItem Commit failed with 0x80131047

2007-04-10 Thread Colin Bowern
I'm trying to debug a setup project where I have defined a component with a strongly named assembly: --snip-- --snip-- I am able to GAC the assembly using GacUtil on the command line, the dependencies are already in the GAC as well. Reflector shows the assembly full name as: Offi

Re: [WiX-users] SelectionTree example?

2007-04-10 Thread Chris Bardon
Have you checked out the tutorial at http://www.tramontana.co.hu/wix/lesson2.php? There's a section in there about UI that uses the stock Mondo set, and that has a feature tree built in. If you want to tweak it, you can just use the source for the stock dialog as a basis for a new version. --

Re: [WiX-users] Port monitor + printer driver

2007-04-10 Thread Trevor Clifton
DPInst.exe is the round about way of doing this when using WiX. Specifically, DIFxApp is the easies way to install drivers correctly using WiX. If you have a single .inf file that describes the port monitor and then describes the printer driver, then you need only one Component for the 2 driver

[WiX-users] SelectionTree example?

2007-04-10 Thread JCWrs
Does anyone know where to find a good example of the WiX code necessary to implement a SelectionTree correctly? What I'm trying to do is simply put a form in my UI to select which features are installed and which are not, but I can't seem to figure out how to do so. Can anyone give me a code s

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Chris Bardon
Thanks, that looks like it might do what I want. The side effect so far seems to be that I now have to either specify everything I want to add, or nothing. For example, if I have 3 features (F1, F2, F3) with different install levels (1,2,3), the install level seems to be ignored if I use ADDLOCAL

Re: [WiX-users] Survey on technique

2007-04-10 Thread Eddleman, Don
Bob, yes I'm talking about Hxs files (this was called Help2 as opposed to Help1 [chm file] within Microsoft and other circles) or some say MSDN and HTML. When you generate the MSDN content it creates html bits that are referenced in the index and collections file. For example I have 28 classes plus

Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Scott Sam
This sounds like the way to go for us. Thanks for all of the help. -Original Message- From: Brett Kapilik [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 11:37 AM To: Justin Rockwood; Jeff Paulsen; Scott Sam Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] getting var

Re: [WiX-users] Survey on technique

2007-04-10 Thread Rob Mensching
Actually, I view that a little bit differently. There are plenty of people that have chartered that unsupported territory. You can see their carcasses all over. I happen to know that Bob is dealing with one right now. There *are* dragons in the code generation space. It is nowhere near as t

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Bob Arnson
Chris Bardon wrote: > So is it possible to write to these variables as well? No, they're read-only. To mark a feature for install, you can use the ADDLOCAL property. -- sig://boB http://bobs.org - Take Surveys. Earn Ca

Re: [WiX-users] GUI

2007-04-10 Thread Bob Arnson
Søren Schimkat wrote: I have a working GUI for installing my product, and now I would like to create a GUI for modifying / changing the installation options - you know .. remove the whole pakage .. or just add or remove selected features. My problem is: How do I specify which GUI´s to use - b

Re: [WiX-users] Files not being installed to WIXUI_INSTALLDIR

2007-04-10 Thread Bob Arnson
Doug Payne wrote: Thanks, Bob. Using an all-uppercase Directory ID (and thereby making this a public property) worked. Thanks. I'll update the doc. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Fut

Re: [WiX-users] Survey on technique

2007-04-10 Thread Bob Arnson
Eddleman, Don wrote: Help2 content is generated from the code plus added content (like namespace documentation) and creates many files How many? When you say "Help2," are you referring to .HxS files or raw HTML files? My point here is I think it is a misnomer to think that you should hand m

Re: [WiX-users] install as standard user

2007-04-10 Thread Bob Arnson
Nitin Chaudhari wrote: > I cant touch ProgramFilesFolder??, then how come a visual studio setup > runs fine (as standard user) even when installing to ProgramFilesFolder? Check the security on Program Files; the Users group doesn't have Write, Modify, or Full Control. -- sig://boB http://bobs.

Re: [WiX-users] Changing property value at runtime SOLVED

2007-04-10 Thread Nitin Chaudhari
Thanks Bob, As you said, I added the custom action in InstallUISequence, and now it is working :) The log shows the following : Action ended 21:02:02: CostFinalize. Return value 1. MSI (c) (00:48) [21:02:02:458]: Doing action: Installing MSI (c) (00:48) [21:02:02:458]: No

Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Brett Kapilik
The other thing that you could try is defining your constants in a wix include file (.wxi) and then including it in your main wxs file. This way your build environment just generates the wxi file and does not touch your main wxs file. Just another approach to consider... - Brett > -Original

Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Jeff Paulsen
Justin Rockwood wrote: > It might be better to just use preprocessor variables in your WiX files and > then pass in those values when you call the MSBuild NAnt task. In your wxs > files use: > $(var.Version) and then when calling MSBuild, set > /property:DefineConstants=Version=1.0.1013.0. Then you

Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Justin Rockwood
It might be better to just use preprocessor variables in your WiX files and then pass in those values when you call the MSBuild NAnt task. In your wxs files use: $(var.Version) and then when calling MSBuild, set /property:DefineConstants=Version=1.0.1013.0. Then you don't have to use NAnt to change

Re: [WiX-users] Files not being installed to WIXUI_INSTALLDIR

2007-04-10 Thread Doug Payne
Thanks, Bob. Using an all-uppercase Directory ID (and thereby making this a public property) worked. --Doug From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 9:43 PM To: Doug Payne Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-user

Re: [WiX-users] install as standard user

2007-04-10 Thread Nitin Chaudhari
I cant touch ProgramFilesFolder??, then how come a visual studio setup runs fine (as standard user) even when installing to ProgramFilesFolder? On 4/9/07, Bob Arnson <[EMAIL PROTECTED]> wrote: Nitin Chaudhari wrote: > For some reason my installation currently requires administrative > priviledg

Re: [WiX-users] Installing packages with MSMQ queues which already exist

2007-04-10 Thread Fredrik Grohn
There is currently no support for this and it is probably not going to be implemented in WiX v2. Somebody should add a feature request for it for v3 though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of thombrown Sent: Thursday, April 05, 2007 10:51 AM

Re: [WiX-users] WiX create a MSMQ

2007-04-10 Thread Fredrik Grohn
No, that functionality currently does not exist, but it would make a good feature request. The fact that it removes the queue on rollback in your example below is IMO a bug, please file it at SF. However, I can't promise it will be fixed in WiX v2, you might have to do a workaround. -Origin

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Chris Bardon
So is it possible to write to these variables as well? I'd like to be able to pass in a property on the command line (or from a custom action) that will set the state of the feature tree for a custom install. The goal is to make it simple for admins to script installations that deploy components

Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Jeff Paulsen
Scott Sam wrote: > We have nant create the version number during the build. I would like > to use this in various places in the wix projects. Is there a way to do > this without setting environment variables? I'm using votive and just > using nant's msbuild task to build the solution. I don't w

Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Scott Sam
ok, so I'm guessing Value is the nant property I want, correct? So where do I set it to have candle called that way? Is it in the projects msbuild file? If so can I reference the nant property directly from the msbuild file? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED

Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Rob Mensching
Use preprocessor variables $(var.) instead? candle -dVariable=Value The Preprocessor topic in the WiX.chm has a lot more information. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam Sent: Tuesday, April 10, 2007 7:02 AM To: wix-users@li

[WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Scott Sam
We have nant create the version number during the build. I would like to use this in various places in the wix projects. Is there a way to do this without setting environment variables? I'm using votive and just using nant's msbuild task to build the solution. I don't want to use environment va

Re: [WiX-users] Create MSBuild boostrap event to install Office

2007-04-10 Thread Julie Campbell
I stumbled across a way accidentally while I was trying to get my bootstrapper working, but I can't reproduce now. I thought it was the "Path" parameter of the GenerateBootstrapper task, but that isn't working for me at the moment. Here is the documentation: http://msdn2.microsoft.com/en-us/libr

Re: [WiX-users] Create MSBuild boostrap event to install Office

2007-04-10 Thread Chris Bardon
Yes, that does help-thanks Julie! I got the PIAs working by adding to the SDK directory like you mentioned. Is there no way to get VS/MSBuild to look in a different location for the bootstrapper packages? Just thinking about setting up multiple developers with the ability to build the installers

Re: [WiX-users] ICE38 error

2007-04-10 Thread Julie Campbell
I got the same error doing the same thing until I added the element as shown below: Hope this helps! Julie Campbell [EMAIL PROTECTED] -- Message: 6 Date: Tue, 10 Apr 2007 01:17:46 -0400 From: "Patrick S

Re: [WiX-users] Survey on technique

2007-04-10 Thread Eddleman, Don
Help2 content is generated from the code plus added content (like namespace documentation) and creates many files which would be a real pain to manually have to update hundreds if not thousands of files since it could change on the next compilation due to the addition of another link or change in t

Re: [WiX-users] Checkbox

2007-04-10 Thread Søren Schimkat
Rob Hamflett skrev: Don't set a value to the property at all. The checkbox is checked based on whether the property is set, How simple can it be. :-) Thanks for the tip - it works just fine. Regards Søren even if it's set to 0. CheckBoxValue is the value assigned to the property

[WiX-users] GUI

2007-04-10 Thread Søren Schimkat
Hi Gyus I have a working GUI for installing my product, and now I would like to create a GUI for modifying / changing the installation options - you know .. remove the whole pakage .. or just add or remove selected features. My problem is: How do I specify which GUI´s to use - base on wheter

Re: [WiX-users] Checkbox

2007-04-10 Thread Rob Hamflett
Don't set a value to the property at all. The checkbox is checked based on whether the property is set, even if it's set to 0. CheckBoxValue is the value assigned to the property when the checkbox is checked, so you probably want this to be 1. You'd then use LAUNCH = 1 or LAUNCH <> 1 in you

[WiX-users] Checkbox

2007-04-10 Thread Søren Schimkat
Hi Guys I have a checkbox in my gui which is bound to a property: 0 [snip] Height="17" Property='LAUNCH' CheckBoxValue='0'> Launch Program Everything is working just fine - except that the checkbox is default checked, and I would like to have it default not-checked. A hint on that one

[WiX-users] Problem with tallow: native COM registration

2007-04-10 Thread Igor Lemsky
Main tallow program haven't attribute STAThreadAttribute so COM objects are created in multi-threaded apartment and this is problem. When I use tallow to scan registry changes for SelfRegistered dll which use DirectX tallow falls with error on (DirectX SDK folder) \DXSDK\Samples\C++\DirectShow\Bas

Re: [WiX-users] Prevent install to network drive or removable media

2007-04-10 Thread Stefan Pavlik
You can write the custom action that will check the path selected / typed by the user. I suppose that in silent mode the default path is correct so it should be enough to check the path only during InstallUISequence. Regards Stefan Jason Van Eaton wrote: > Is there a way to prevent installing t

Re: [WiX-users] Port monitor + printer driver

2007-04-10 Thread Stefan Pavlik
What about the DPInst.exe from DIFxApp (see http://msdn2.microsoft.com/en-us/library/aa370579.aspx) It is part of WDK. It is standalone binary and by default it will try to install all drivers in the working directory. I am using the DPInst.exe to install the PnP drivers for PCMCIA adapters and it

Re: [WiX-users] Making Edit Controls required on dialog

2007-04-10 Thread Stefan Pavlik
Hi,... The Button controls can have conditions such as disable/ enable/ hide / show. Such condition should use the property from the Edit control. e.g.: regargds Stefan David Allen wrote: > I am trying to come up with a way to require edit > controls on a dialog to be required before

Re: [WiX-users] enter user into registry

2007-04-10 Thread Stefan Pavlik
Hi,... The accesspath property should be public (all uppercase) see http://msdn2.microsoft.com/en-us/library/aa370912.aspx regards Stefan Some user wrote: > that's what I have tried to do, but it didn't seem to work so I thought it > couldn't be done that way. In the components I had a > Nam

[WiX-users] Making Edit Controls required on dialog

2007-04-10 Thread David Allen
I am trying to come up with a way to require edit controls on a dialog to be required before allowing user to click on the next button and move to the next dialog. Anyone have a way of doing this? Thanks. ___

Re: [WiX-users] Install not checking for existing version of install

2007-04-10 Thread Stefan Pavlik
Hi,... If you are talking about the same version of package (same product, package code, same version) than this is normal behaviour. Of course you can add some warnings to warn the user that same version is already installed. Anyway, you should use the Upgrade table to detect other versions of

[WiX-users] Install not checking for existing version of install

2007-04-10 Thread David Allen
I have created an install package, but I am able to run the install over and over without being prompted with an error message telling me the application I am trying to install already exists. Is there some sort of attribute I need on the Product or Package tag? I am new to WIX and cant find any d