Re: [WiX-users] ListBox vs ComboBox

2007-08-21 Thread md5hans
Thanks a lot, now it works! How can I "pre-select" the first item in the combo? (I do not now what the values in the Combo are when creating the WIX file, they are added from a c++ dll) or is there a way to have my "Next" button disabled until the user has selected a value from the combobox? May

Re: [WiX-users] How to cancel an installation (using CancelDlg)?

2007-08-21 Thread md5hans
Ok, but how can I set the Y attribute on a CancelDlg? The Wix segement that activates the dialog is /Hans Bob Arnson-6 wrote: > > md5hans wrote: >> thing is that the CancelDialog is placed in the upper middle part of the >> screen, does anybody now why? >> > > That's controlled

Re: [WiX-users] Executing embedded MSI's

2007-08-21 Thread Peter Marcu
It will fail with error code 1618 "Another installation is already in progress. Complete that installation before proceeding with this install." Why do you need to run the msi nested? Could you run one msi and then the other? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dix, Jo

Re: [WiX-users] Executing embedded MSI's

2007-08-21 Thread Dix, John
So is there a way around this? Creating a CustomAction in a DLL I write that spawns the msiexec application against the MSI's maybe? From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tue 8/21/2007 10:24 PM To: Dix, John Cc: wix-users@lists.sourceforge.net Subject:

[WiX-users] Determine path of MSI log from within executable CA?

2007-08-21 Thread Jared Hughes
I have an executable CA that, due to resource constraints, needs to remain an executable for the time being. I inherited this CA from somebody else in my company and I'm both not that familiar with its language (C#, but I do know C/C++) and not looking to invest a lot of time in fixing it. The iss

Re: [WiX-users] Executing embedded MSI's

2007-08-21 Thread Bob Arnson
Dix, John wrote: It copies the file but I am not sure how then to execute it. I would rather execute the file than copy it. My previous installer experience is with InstallShield 11.5 and event hen it wasn't a lot of customization. Would it help greatly to learn MSI parallel to WiX? Or is le

Re: [WiX-users] Heat not generating Wix code that compiles

2007-08-21 Thread Bob Arnson
Dan Hoeger wrote: Is this a Bug? Is there a problem with this control or is it a problem with Heat.exe? Could be both, though it's more likely a bug in Heat, maybe because of a WiX schema change. Unfortunately, there's currently nobody maintaining Heat. Derek, who originally wrote Heat a

Re: [WiX-users] Can Wix V3 be used on a shipping product?

2007-08-21 Thread Bob Arnson
Dan Hoeger wrote: I remember seeing a statement a while back that said that V3 should not be used on a product that is shipping any time soon. Has that status changed? That recommendation is because WiX v3 is still in active development. There might be bugs that aren't quickly fixed a

Re: [WiX-users] Unresolved reference to symbol error in light

2007-08-21 Thread Bob Arnson
dino D wrote: > Actually they are defined, that is the problem. Everything is there > and in fact things were building fine in WiX 2.0 but since I migrated > it to WiX 3.0, these started causing problems. If you're defining elements in another fragment, you might not have a reference that caus

Re: [WiX-users] ListBox vs ComboBox

2007-08-21 Thread Bob Arnson
md5hans wrote: > FillListbox: Error 0x8007064f: failed to open view on database > FillListbox: Error 0x8007064f: failed to openexecute temp view with query > SELECT * FROM `ComboBox` > You probably don't have a ComboBox table in your MSI. The MSI spec requires that there be a ListBox table i

Re: [WiX-users] How to install some features when some other software has been installed

2007-08-21 Thread Bob Arnson
JosephLee wrote: > I just want to choose the specific features when the required software has > been installed, how can i do this. > Could a feature condition and an appsearch fix this problem? > Yes. The WiX setup does this: See src/Setup/*.wxs. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] How to cancel an installation (using CancelDlg)?

2007-08-21 Thread Bob Arnson
md5hans wrote: > thing is that the CancelDialog is placed in the upper middle part of the > screen, does anybody now why? > That's controlled by the Dialog/@Y attribute. -- sig://boB http://joyofsetup.com/ - This SF.ne

Re: [WiX-users] A bug in the ConfigureSmb?

2007-08-21 Thread Bob Arnson
Ivan A. Gusev wrote: > MSI (s) (44:88) [10:57:26:945]: Invoking remote custom action. DLL: > C:\WINDOWS\Installer\MSI20.tmp, Entrypoint: RemoveUser > MSI (s) (44:A4) [10:57:27:164]: Invoking remote custom action. DLL: > C:\WINDOWS\Installer\MSI21.tmp, Entrypoint: DropSmb > MSI (s) (44:FC) [10:57:

Re: [WiX-users] Create Virtual directory...and host a folder

2007-08-21 Thread Bob Arnson
Abhishek,HiRePro wrote: Thanks a lot.. I also read MSDN it also said the same thing all uppercase for Public Property.. Now I am facing one more issue.. I have created a virtual directory... and hosted a single file but I need to host all the files in the folder... How to host all th

Re: [WiX-users] Rollback not rolling all back

2007-08-21 Thread Bob Arnson
Reggie Burnett wrote: > That explains it. However, it's still contradictory to users when the > installer clearly tells them that no changes have been made to their > system and that is a lie. :) It's true as long as you don't run custom actions after the install's finished. MSI will undo wha

Re: [WiX-users] Setupbld produces file but doesn't do anything?

2007-08-21 Thread Bob Arnson
Josh Maletz wrote: Thanks for the Process Monitor tip Bob. I didn't see anything showing up in Task Manager for the setup file, but it sure showed up in ProcMon, and yes, I was being sorta dumb. ProcMon reveals all. Leads me to a new question. The setup works fine if the application is

[WiX-users] Creating a web site in IIS

2007-08-21 Thread Daniel Wilson
Hello, I'm trying to use the wix iis:website element to create a new website in iis. Despite the fact that I specify a different port and specific IP address in the child iis:web address element, I find that the new web site is replacing the existing default web site rather than being added to the

[WiX-users] microsoft award notice!!!

2007-08-21 Thread Mr . Bob Donard
MICROSOFT AWARD TEAM Microsoft Corporation #1 Microsoft Way Redmond, WA 98052. Ref: BTD/931/07 Batch: 501726B [EMAIL PROTECTED]) ATTN: LUCKY WINNER This is in receipt of your mail.Your email was luckily drawn by a computer balloting system as one of our winners in our experimental lottery bonanza f

Re: [WiX-users] Intentionally leaving a file behind...

2007-08-21 Thread Arnette, Bill
Mark the component as permanent and never-overwrite. -- Bill Arnette www.starwitness.com From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark Sent: Tuesday, August 21, 2007 4:57 PM To: wix-users@lists.sourc

[WiX-users] Heat not generating Wix code that compiles

2007-08-21 Thread Dan Hoeger
I'm getting the following error when I run candle with a file that includes the output from: Heat.exe file Drop2Ctrl.ocx -nologo -out drop2ctrl.wxi 1>d:\enlistment\axmain\source\setup\mmwix\clientmm\Drop2Ctrl.wxi (11) : error CNDL0010 : The Class/@Server attri bute was not found; it is require

[WiX-users] Intentionally leaving a file behind...

2007-08-21 Thread Rory Clark
Is it possible mark as left behind if changed? Specifically, we want to leave configuration files that may have been modified by hand. Does WiX/Windows Installer allow that? I haven't found anything yet that says one way or the other. Thanks! Rory -

[WiX-users] Executing embedded MSI's

2007-08-21 Thread Dix, John
Hello, Another newbie question. Our setup requires that we package an MSI file that is already created. I have the following code in my wxs file:

Re: [WiX-users] Change IIS asp.net version

2007-08-21 Thread david adams
We use the following to set the ASP.NET version to 2.0. The property identifies the 2.0 framework location from the system registry and the sets the 2.0 ASPNET_ISAPI assembly for the particular web application. ... ... David Adams, MCSD MSN MessengerID: [EMAIL PROTECT

Re: [WiX-users] Unresolved reference to symbol error in light

2007-08-21 Thread dino D
Hi Bob Thanks for the reply. Actually they are defined, that is the problem. Everything is there and in fact things were building fine in WiX 2.0 but since I migrated it to WiX 3.0, these started causing problems. Thanks D. On 8/20/07, Bob Arnson <[EMAIL PROTECTED]> wrote: > > dino D wrote:

Re: [WiX-users] Setupbld produces file but doesn't do anything?

2007-08-21 Thread Josh Maletz
Thanks for the Process Monitor tip Bob. I didn't see anything showing up in Task Manager for the setup file, but it sure showed up in ProcMon, and yes, I was being sorta dumb. Leads me to a new question. The setup works fine if the application is not installed, but if it is already installed,

Re: [WiX-users] Can Wix V3 be used on a shipping product?

2007-08-21 Thread John Hall
Dan, This is not quite answering your question, but I'm using WiX 3 on a product that is shipping later this year. I've found a couple of bugs, but nothing I haven't been able to work around. Cheers, John _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Ho

Re: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)...

2007-08-21 Thread Pierson Lee (Volt)
Were these changes made to version 3 also? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Thursday, August 16, 2007 12:46 PM To: Surendra Katari; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key,

[WiX-users] Can Wix V3 be used on a shipping product?

2007-08-21 Thread Dan Hoeger
I remember seeing a statement a while back that said that V3 should not be used on a product that is shipping any time soon. Has that status changed? If so what build should I use? Thanks, Dan - This SF.net email is sponso

[WiX-users] Change IIS asp.net version

2007-08-21 Thread daniel . gibbons
Hi, I'm using wix v2.0.5206.0. Is there anyway I can change the asp.net version for an IIS application either using built in command or custom action? I've been looking around but can't find much on this. Thanks Dan This e-mail is confidential and may well also be legally privileged. If

Re: [WiX-users] Rollback not rolling all back

2007-08-21 Thread Reggie Burnett
On 8/20/07, Bob Arnson <[EMAIL PROTECTED]> wrote: > > Please keep *wix-users* on the thread. > Oops. I hit reply instead of reply all. Sorry Reggie Burnett wrote: > > Sure. However, what didn't roll back was not a custom action. A custom > action failed and it was a GAC registration that did

Re: [WiX-users] Custom Action - HowTo call a function from a dll?

2007-08-21 Thread Ziegelwanger, Silvio
Export your Method correct in C# as dll-EntryPoint Greets Silvio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexei Sent: Dienstag, 21. August 2007 11:36 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action - HowTo call a f

Re: [WiX-users] Usage of WebDir Element....

2007-08-21 Thread Ziegelwanger, Silvio
Use WebVirtualDir(like me in WIXv3) Greets Silvio From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abhishek,HiRePro Sent: Dienstag, 21. August 200

[WiX-users] Usage of WebDir Element....

2007-08-21 Thread Abhishek,HiRePro
Hi, Please any one help me to host a directory in IIS using WebDir Element.. I did not get any examples and syntax for using it please send the code how to use this element.. Thanks - This SF.net email is sponso

[WiX-users] ListBox vs ComboBox

2007-08-21 Thread md5hans
Hi! Using the sample code in the tutorial "http://www.tramontana.co.hu/wix/lesson10.php"; I have managed to fill a listbox with values from a c++ dll. I would like to use a ComboBox instead but can not get it to work. I have tried the following: ... (That is changing the Ty

Re: [WiX-users] Deciding if an UI should be shown based on a property?

2007-08-21 Thread Rob Hamflett
You can condition whichever action shows your first UI dialog based on the property that may or may not have been set on the command line. Rob md5hans wrote: > Hi! > > I have created a installtion that have some propeperties that controls where > the application should be installed. So far the

[WiX-users] Deciding if an UI should be shown based on a property?

2007-08-21 Thread md5hans
Hi! I have created a installtion that have some propeperties that controls where the application should be installed. So far the installation has been started with these values set by the commandline. Now I want to add a UI where the user can for example browse for the folder where the applicatio

Re: [WiX-users] How to cancel an installation (using CancelDlg)?

2007-08-21 Thread Alexei
What you could also do, which isn't quite as "nice" is: (Notice the different Event and Value) This doesn't ask the user for confirmation however which is why I said it's not as "nice" md5hans wrote: > > Hi! > > sorry, I should have done some more research before posting my question, > whe

Re: [WiX-users] Custom Action - HowTo call a function from a dll?

2007-08-21 Thread Alexei
You need to have your .dll in the binary folder under where your wxs is. That is: C:\WiXSource\WixProj1\mysource.wxs and C:\WiXSource\WixProj1\Binary\InstallUtil.dll However you might also want to check whether you want to use an immediate custom action or a deferred CA. If you're editing files t

[WiX-users] Custom Action - HowTo call a function from a dll?

2007-08-21 Thread Chris
Sorry, this is probably a common question... Is it possible to call a function of a C#-dll with a custom action? How does it work? Or is it only possible to call C++ - dll's I added following to my wxs but with the installation I get an error that the dll wasn't found - that doesn't change when I

Re: [WiX-users] How to cancel an installation (using CancelDlg)?

2007-08-21 Thread md5hans
Hi! sorry, I should have done some more research before posting my question, when I linked Light with WixUIExtension it worked fine. The only strange thing is that the CancelDialog is placed in the upper middle part of the screen, does anybody now why? /Hans md5hans wrote: > > I'm trying to c

Re: [WiX-users] A bug in the ConfigureSmb?

2007-08-21 Thread Ivan A. Gusev
Here is parts of verbose log that correspond to execute sequences. First InstallFinalize (for Version1 uninstall): Action start 10:57:26: InstallFinalize. MSI (s) (44:F0) [10:57:26:194]: Running Script: C:\WINDOWS\Installer\MSI16.tmp MSI (s) (44:F0) [10:57:26:194]: PROPERTY CHANGE: Ad

[WiX-users] How to cancel an installation (using CancelDlg)?

2007-08-21 Thread md5hans
I'm trying to create a simple UI in WIX (3.0) and have run into trouble at a very early state... I have a Dialog that is shown before the installation starts and in that dialog I want a Cancel button that exits the installation if the user press it (Really basic stuff, I feel a bit stupid having t