[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

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:

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

[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

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

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: Control Id=btnCancel Type=PushButton Width=50 Height=17 X=… Y=… Text=Cancel Publish Event=EndDialog Value=Exit / /Control (Notice the different Event and Value) This doesn't ask the user for confirmation however which is why I said it's not

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] 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: Dialog Id=InstallDlg Width=370 Height=270

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

2007-08-21 Thread Ziegelwanger, Silvio
CustomAction BinaryKey=yourDllName Execute=firstSequence Id=caYourMethod DllEntry=yourMethodName Return=check / 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,

[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

[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

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/'

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

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

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: I

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 WebApplicationExtension sets the 2.0 ASPNET_ISAPI assembly for the particular web application. Property Id=FRAMEWORKROOT RegistrySearch

[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: !-- Install the MBSA application -- Directory Id='INSTALLDIR_MBSA' Name='MBSA'

[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] 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 1d:\enlistment\axmain\source\setup\mmwix\clientmm\Drop2Ctrl.wxi (11) : error CNDL0010 : The Class/@Server attri bute was not found; it is

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 http://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] 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

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

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

[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

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

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,