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

2007-04-11 Thread Friedrich Dominicus
"Trevor Clifton" <[EMAIL PROTECTED]> writes: > 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

[WiX-users] Unable to do section 2.5 Insertions of Wix tutorial in WiX3 using votive

2007-04-11 Thread Nosherwan Ghazanfar
Hi, I need to customize WixUI_Mondo to customize the dialogs according to my requirements. I am using WiX3 with votive. I tried to follow section 2.5named "Insertions" from the WiX tutorial but was unable to becuase of changes in WiX3 I assume. First of all I was unable to find "src\ui\wixui" in t

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

2007-04-11 Thread thombrown
I have submitted a feature request as suggested: http://sourceforge.net/tracker/index.php?func=detail&aid=1697729&group_id=105970&atid=642717 Thanks for the response. Fredrik Grohn-4 wrote: > > There is currently no support for this and it is probably not going to be > implemented in WiX v2. S

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

2007-04-11 Thread Rob Hamflett
I'm going to be careful here, so as to not confuse a few concepts. Properties are entries in the Properties table, defined through the Properties element. These are runtime values only. What you're after is the preprocessor. You want to define something like this: Source='D:\Projects\soluti

[WiX-users] Problem: Database not created

2007-04-11 Thread Moni Chow
Can anybody figure out why database is not created using the codes below (when Database is chosen to be installed in Custom Option)? Thanks! http://schemas.microsoft.com/wix/2003/01/wi";> ...

Re: [WiX-users] ICE38 error

2007-04-11 Thread Gareth at Serif
It's because the olders you're installing files to can be in per-user or per-machine locations depending on the value of the ALLUSERS property. For example, your start menu, or the AllUser's start menu. Since the package doesn't know what ALLUSERS will be set to until it's executed, the validati

Re: [WiX-users] ICE38 error

2007-04-11 Thread Tony Hoyle
Gareth at Serif wrote: > the system wouldn't have those files and they may be vital to the > running of the program and will probbaly see a lot of crashes or > missing content - a poor experience. Which will probably happen anyway if your app is not specifically designed to be installed per-user

[WiX-users] why am I getting a UAC prompt with my MSI?

2007-04-11 Thread Patrick Schmid
I am trying to make my program Vista standard-user installable, but I just don't understand why I am getting a UAC prompt. I am using wix3 to create the MSI file. All it does is: - create a folder and a subfolder in the AppDataFolder - put two DLLs there (no registration of them at all, just pla

Re: [WiX-users] Problem: Database not created

2007-04-11 Thread Dana Gutride
Are you getting an error? Also, what does the msi log report about the database creation? You might want to set ContinueOnError to no and then see what happens. Dana On 4/11/07, Moni Chow <[EMAIL PROTECTED]> wrote: Can anybody figure out why database is not created using the codes below (w

Re: [WiX-users] why am I getting a UAC prompt with my MSI?

2007-04-11 Thread Stefan Pavlik
Hi Patrick, You should probably set the msidbSumInfoSourceTypeLUAPackage bit in the Summary information stream. see the section Elevation Privleges Not Required in http://blogs.msdn.com/windows_installer_team/archive/2005/11/03/488945.aspx or http://msdn2.microsoft.com/en-us/library/aa372870.as

Re: [WiX-users] Survey on technique

2007-04-11 Thread Eddleman, Don
you know, your right. I was just taking the files in the help output of the hxcomp (using sandcastle and msbuild targets) instead of just the final compile collection files (gee I feel stupid). Thanks for pointing that out. However, it wasn't all for not since I did have to poke my head into the da

Re: [WiX-users] Create new IIS WebSite

2007-04-11 Thread david adams
Marc: If this is a reoccurrence of the error, you should see something about an "array out of bounds exception" in the verbose log. David Adams MSN MessengerID: [EMAIL PROTECTED] >From: Marc McClure <[EMAIL PROTECTED]> >To: Rob Mensching ><[EMAIL PROTECTED]>,"wix-users@lists.sourceforge.ne

[WiX-users] Backing-up Overwritten Files

2007-04-11 Thread Julien Feyen
When uninstalling the program I have packaged using Wix, any files that were overwritten get deleted. Is there a way of keeping the backup files so that the uninstall will restore the original. Note: It is not possible to use the Update function in this situation. Thanks, Julien

Re: [WiX-users] Create new IIS WebSite

2007-04-11 Thread Kevin Burton
I get the same error so I would be interested in any solutions that are devised. Thank you. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Tuesday, April 10, 2007 6:30 PM To: Marc McClure; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Create ne

Re: [WiX-users] Error in German?

2007-04-11 Thread Kevin Burton
I looked in the verbose log and I could not see anything that gave me an indication of German. For example the button on one of the dialogs on uninstall is in German. In the log I see: Action ended 10:16:29: CostFinalize. Return value 1. Action 10:16:29: PropertiesDlg. Action start 10:16:29:

[WiX-users] Need Sample for Windows Installer XML Toolset Visual Studio Extension

2007-04-11 Thread Andreas Kerl
Hi all, I need a sample for implementing a helpfile into the Vs.Net Help collection. All of my attempts while using Windows Installer XML Toolset Visual Studio Extension are failed. I've test it with WIX 3.0 and WIX 2.0. When I use WIX 3.0, the created MSI-package contains the required tables a

[WiX-users] Error while registering PHP web extension with IIS

2007-04-11 Thread Andrew Smith
Hi, I'm running IIS 5.1 and I'm getting an error while trying to register PHP with IIS by using the 'WebServiceExtension' element. I have copied the relevant fragment below. The error I get is: Error 26038. Failed to schedule install of IIS Web Service Extensions. (-2146646015 ) I have

[WiX-users] Custom Action that references C# classes?

2007-04-11 Thread JCWrs
One of our developers has written a class that is able to set-up all of the virtual directories, websites and IIS that our app requires. Is there a way to write a custom action that executes a file that calls functions from this C#.Net class? I realize that I can call pre-defined Custom Actions

Re: [WiX-users] Custom Action that references C# classes?

2007-04-11 Thread Brett Kapilik
You can certainly do that. You should include both the C# dll and the executable that calls it in your installer. Then make a CustomAction element that defines the custom action. Make sure to use the FileKey attribute to reference the executable's file ID (i.e "Myfile.exe") as well as any of the ot

Re: [WiX-users] Custom Action that references C# classes?

2007-04-11 Thread Alex Steen
That's exactly what I was looking for, Brett, thank you. One extra question, is it possible to get arguments through my UI and pass them to my CustomAction as arguments to the script? -Original Message- From: Brett Kapilik [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 12:43 P

Re: [WiX-users] Custom Action that references C# classes?

2007-04-11 Thread Brett Kapilik
Yes, just specify them in the ExeCommand attribute. - Brett > -Original Message- > From: Alex Steen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 11, 2007 12:55 PM > To: Brett Kapilik; wix-users@lists.sourceforge.net > Subject: RE: [WiX-users] Custom Action that references C# classe

Re: [WiX-users] Custom Action that references C# classes?

2007-04-11 Thread Rob Mensching
The problem with this method is that you will have a very difficult time participating in the reference counting and transaction when applying changes to the machine. Scheduling after InstallFinalize also likely won't work because your install is not elevated at that point in time. Really, the

Re: [WiX-users] Custom Action that references C# classes?

2007-04-11 Thread Brett Kapilik
Rob makes some good points below. In the long run you are much better off using the WiX extensions to do that stuff because they support rollback, uninstall, etc. properly. If you want to use your own custom action and do things properly, you should make your executable/DLL support different action

[WiX-users] Create temp custom action

2007-04-11 Thread Brian Cardiff
Does somebody knows if exists a custom action to dump the content of a embedded file (Binary table) to a temporal file? -- Brian J. Cardiff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [WiX-users] Custom Action that references C# classes?

2007-04-11 Thread Alex Steen
Rob and Brett, thanks for the clarification. The class that my colleague wrote does include uninstall and rollback functions so I plan to integrate those as well. Perhaps, in the long run I will look to convert to the WiX extensions. Thanks all -Original Message- From: Brett Kapilik [ma

[WiX-users] how to alwyas overwrite GAC assembly in fresh setup

2007-04-11 Thread Fei Cao
It looks like if we want to specify an install for GAC assembly dll, we have to use Assembly='.net' in the element, which will require KeyPath has to be set as "yes" (otherwise we'll have a build error when running candle.exe). Then this way, if GAC assembly has been left behind, then another f

[WiX-users] Patch trying to uninstall RTM (original) version

2007-04-11 Thread Nick Hennemann
I have created a WiX Installer, installed it on a test machine, and then created a patch for it. When running the patch, instead of updating the software it is taking me to the remove, repair dialog. I can't figure out what I have done incorrectly so hopefully you can help me. Here is the pro

[WiX-users] Using InstallUtil.exe to run an exe from a setup

2007-04-11 Thread Karthika K
Hi All, I have a console application which installs custom controls to a toolbox. I want to run this application from a setup (wix file). How can I use InstallUtil.exe for this purpose? I had the following customaction element: But it doesn't seem to work. Can someone please tell me how I can

[WiX-users] Question about the Dependency element?

2007-04-11 Thread Rory Clark
I have a question about the Dependency element: What is the difference between have a Dependency element in a MSM and an MSI? What is the gains of putting it in one and not that other? For example, in the MSI and not in the MSM? What are the problems of listing the dependencies in the MSI and no

Re: [WiX-users] how to alwyas overwrite GAC assembly in fresh setup

2007-04-11 Thread Heath Stewart
You must keep the assembly version the same, but change the file version. See http://blogs.msdn.com/heaths/archive/2005/06/10/427803.aspx. Heath Stewart Technical Lead Deployment Technologies Group, Microsoft http://blogs.msdn.com/heaths From: Fei Cao Sent: Wednesday, April 11, 2007 12:31 PM To:

Re: [WiX-users] Question about the Dependency element?

2007-04-11 Thread Rob Mensching
1. Dependency element is only allowed in Modules. 2. None. 3. None. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark Sent: Wednesday, April 11, 2007 1:56 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Question about the Dependency element? I have a questio

Re: [WiX-users] Question about the Dependency element?

2007-04-11 Thread Rory Clark
Interesting. How is this supposed to be enforced? Currently, we've implemented an automated process that examines our projects and builds MSMs and MSIs for them, even going so far to crack open the MSM's and follow the dependency chain for our "external" MSM's to make sure our reference counts fo

[WiX-users] How to launch MSI from MSI

2007-04-11 Thread Davut Karabay
I have a WIX based MSI. My product depends on a separate component, which installs with its own MSI. Is there a way that I can launch the other MSI from mine? Thanks, Davut _ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rat

Re: [WiX-users] Question about the Dependency element?

2007-04-11 Thread Rory Clark
Whoops! Brain disconnect here. Let's scratch the below comments and try this again. What is the difference between the MergeRef (MSI's) and Dependency (MSM) elements? Thanks! Rory From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark Sent

[WiX-users] Controling SQL services

2007-04-11 Thread Don Tasanasanta
Is there an easy way to start and stop SQL services from wix? I'd like to stop the services before running my SQL scripts and then start them back up after everything is said and done. - Take Surveys. Earn Cash. Influence the

Re: [WiX-users] detect installed .net assembly

2007-04-11 Thread Fredrik Grohn
The fact that you are trying to do this indicates that you are trying to break the component rules that says to never install two components sharing the name and target location. What you really want to do is have an identical component in both the MSI's that I presume you have. That will allow

Re: [WiX-users] Controling SQL services

2007-04-11 Thread Rob Mensching
ServiceControl element. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta Sent: Wednesday, April 11, 2007 3:37 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Controling SQL services Is there an easy way to start and stop SQL services from wix? I'd like to

Re: [WiX-users] detect installed .net assembly

2007-04-11 Thread Patrick Schmid
Hi Fredrik, I think I had a pretty bad understanding of how the GAC works. So you are saying that I should just install all those components into the GAC and not worry at all whether they are already installed or not. If they already exist, Windows Installer won't install them a second time. If th

Re: [WiX-users] why am I getting a UAC prompt with my MSI?

2007-04-11 Thread Patrick Schmid
Hi Stefan, Thank you! Is there a way to set this property in a wix file or do I have to use msiinfo.exe after I created the MSI? Thanks, Patrick > -Original Message- > From: Stefan Pavlik [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 11, 2007 09:11 > To: Patrick Schmid > Cc: wix-us

Re: [WiX-users] Error in German?

2007-04-11 Thread Bob Arnson
Kevin Burton wrote: I looked in the verbose log and I could not see anything that gave me an indication of German. For example the button on one of the dialogs on uninstall is in German. Well, I can't really guess where the dialogs are coming from. It might be MSI or it might be an author

Re: [WiX-users] why am I getting a UAC prompt with my MSI?

2007-04-11 Thread Bob Arnson
Patrick Schmid wrote: > Thank you! Is there a way to set this property in a wix file or do I have to > use msiinfo.exe after I created the MSI? > See Package/@InstallPrivileges. -- sig://boB http://bobs.org - Take Surv

Re: [WiX-users] Backing-up Overwritten Files

2007-04-11 Thread Bob Arnson
Julien Feyen wrote: When uninstalling the program I have packaged using Wix, any files that were overwritten get deleted. Is there a way of keeping the backup files so that the uninstall will restore the original. Note: It is not possible to use the Update function in this situation. The

Re: [WiX-users] Unable to do section 2.5 Insertions of Wix tutorial in WiX3 using votive

2007-04-11 Thread Bob Arnson
Nosherwan Ghazanfar wrote: > I need to customize WixUI_Mondo to customize the dialogs according to > my requirements. I am using WiX3 with votive. I tried to follow > section 2.5 named "Insertions" from the WiX tutorial but was unable to > becuase of changes in WiX3 I assume. Yes. The WiX v3 Wi

Re: [WiX-users] Patch trying to uninstall RTM (original) version

2007-04-11 Thread Bob Arnson
Nick Hennemann wrote: I have created a WiX Installer, installed it on a test machine, and then created a patch for it. When running the patch, instead of updating the software it is taking me to the remove, repair dialog. I can't figure out what I have done incorrectly so hopefully you can

Re: [WiX-users] Question about the Dependency element?

2007-04-11 Thread Bob Arnson
Rory Clark wrote: What is the difference between the MergeRef (MSI's) and Dependency (MSM) elements? Merge/MergeRef tell WiX to merge a module. Dependency just "documents" the dependency; it doesn't, for example, automatically merge the dependent module (that requires knowing the full path of

Re: [WiX-users] How to launch MSI from MSI

2007-04-11 Thread Bob Arnson
Davut Karabay wrote: > I have a WIX based MSI. My product depends on a separate component, which > installs with its own MSI. Is there a way that I can launch the other MSI > from mine? > No. "Nested installs" are officially deprecated. The replacement is a chainer/bootstrapper; check the ar

[WiX-users] Selection of authentication mode for a WebService through Win Installer UI

2007-04-11 Thread David Roberts
Hi, I found today I was facing a similar problem to that described in this post: Ziegelwanger, Silvio <[EMAIL PROTECTED]> - 2007-03-05 11:57 http://sourceforge.net/mailarchive/message.php?msg_id=B710F3299F04664DB6B37C258FDEEB943D2E3F%40FABAMAIL.fabagl.fabasoft.com I'm trying to provide a dial

Re: [WiX-users] Create temp custom action

2007-04-11 Thread Stefan Pavlik
Hi, Brian... I do not know if there is a public custom action for this but if you want to write your own you should check the MsiRecordReadStream() function in MDNS: http://msdn2.microsoft.com/en-us/library/aa370370.aspx You can also search for MsiRecordReadStream in the WiX source files. rega