[WiX-users] How to write a custom action

2008-05-08 Thread shiri
Hi I want to execute a custom action when a button is clicked.I want to write the custom action code is in c#. what is the procedure to do it.Please let me know and let me know any books are available for learing WIX.not online tutorials. waiting for urgent reply. regards, A.Srinivas -- Vi

Re: [WiX-users] Integrating documentation with Visual Studio 2008

2008-05-08 Thread Rob Mensching
Yeah, we've sent this type of feedback to the Html Help team before. Unfortunately, we (people who work on WiX) don't have control over the quality of the merge module. I'll send this one along again (just in case anyone over there thought things were "good enough"). From: [EMAIL PROTECTED] [

Re: [WiX-users] LGHT0217 error from scheduled task only

2008-05-08 Thread Rob Mensching
Validation. Light uses the standard MSI Validation functionality uses the Windows Installer services to validate the databases after building. Talking to a service (MSI) while in another service (Scheduled Task) has some really complicated security things going on. Doesn't surprise me it does

Re: [WiX-users] Wix 3; IIS extension - WebSite

2008-05-08 Thread Rob Mensching
Unfortunately, the "toggle" behavior you want is not supported by the current Custom Actions. The design is intended to make it possible to uniquely identify which Web Site to install/uninstall since the IP/Port are the "physical representations" of the Web Site. That design has its shortcomin

Re: [WiX-users] MSBuild -- candle/light path

2008-05-08 Thread Neil Enns
I'm using WiX 3.0 and override the location with the following entries in my .wixproj file: $(SomeEnvVariable)\wix\3.0.3907.0\bin\Wix.targets $(SomeEnvVariable)\wix\3.0.3907.0\bin $(WixToolPath)\wixtasks.dll It was a while back, but I believe I also changed the default imports line

[WiX-users] MSBuild -- candle/light path

2008-05-08 Thread Kevin Richardson
HI there, Forgive my MSBuild-noobness... When using MSBuild, it looks like the WiX executables (candle/light) are located via a registry key. Can this be overridden? Thanks, -kevin - This SF.net email is sponsored by t

Re: [WiX-users] Integrating documentation with Visual Studio 2008

2008-05-08 Thread Don Caton
Doug: I wasted days and days on this but was never able to get any of that to work, even in VS2005. The Wix docs for the tags in question are not helpful, and I couldn't find any examples on the web. Just questions, and a reference to a wix bug that may or may not be fixed (the sourceforge pa

Re: [WiX-users] Problem when trying to install .NET framwork 2.0 duringMSI install , plz any idea

2008-05-08 Thread Rob Mensching
Actually, in this case, it's failing because the CustomAction is trying to run *long* before the files are installed. The CustomAction would need to be deferred and scheduled after InstallFiles to launch successfully. *Then* it would hit the problem Jim notes below. From: [EMAIL PROTECTED]

Re: [WiX-users] Integrating documentation with Visual Studio 2008

2008-05-08 Thread Doug Payne
Only this one: > Warning: Changes were not saved to MSI Database. --Doug From: Rob Mensching Sent: Thursday, May 08, 2008 2:28 PM To: Doug Payne; wix-users@lists.sourceforge.net Subject: RE: Integrating documentation with Visual Studio 2008 Usually errors in the merge.log file start with ">>".

Re: [WiX-users] Integrating documentation with Visual Studio 2008

2008-05-08 Thread Rob Mensching
Usually errors in the merge.log file start with ">>". Do you have any of those? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Payne Sent: Thursday, May 08, 2008 11:20 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Integrating documentation with Visual Studio 2008

Re: [WiX-users] util:XmlFile question

2008-05-08 Thread Rob Mensching
XmlFile has problems uninstalling what it installed. XmlFile really is only good at editing files that you install and uninstall completely. XmlFile has some uninstall code but I have not debugged it enough to understand why it never seems to work. I know it won't work in most cases... but no

[WiX-users] Wix 3; IIS extension - WebSite

2008-05-08 Thread Christopher Karper
I'm trying to add a web site to a server on install, and it's replacing the Default Site rather than adding a new one. Is WiX's CA using the IP/port combination to check for duplicate websites instead of letting the developer decide? I don't want to overwrite an existing installation, and I want

Re: [WiX-users] Changing the screen resolution

2008-05-08 Thread Christopher Karper
I would imagine you're going to run into serious issues there, as the resolution isn't set per machine, but per user. You would have to change the resolution for all users in the domain, and that's something probably best handled by group policy administration rather than application install. Ch

[WiX-users] LGHT0217 error from scheduled task only

2008-05-08 Thread Stephen Lewin-Berlin
I'm getting the following error from light on my automated build machine (home-brew scripts using windows scheduled tasks). I can log into the build machine using remote desktop (same user as the automated task) and build the MSI file without error. The error occurs only when the build is scripte

[WiX-users] Overwriting the dialogs - a problem in sequences and validations...

2008-05-08 Thread Riyaz Mogharabin
Dear All, I hope you are fine and doing well. I have decided to add a validation to the "InstallDirDlg" dialog in the WixUI_INSTALLDIR set. I need to check the install path to ensure there is no Space in the install path. For that, I have used the tutorial in the " http://www.dizzymonkeydesign

Re: [WiX-users] Problem when trying to install .NET framwork 2.0 duringMSI install , plz any idea

2008-05-08 Thread Jim Williams
It is probably failing because you are trying to invoke an installer when an installer is already running. You need to install separate installers sequentially, not from within one another. You would need a bootstrapper to do that. Jim From: [EMAIL PROTECTED]

Re: [WiX-users] Changing the screen resolution

2008-05-08 Thread Christopher Painter
Checkout: http://www.codeproject.com/KB/winsdk/chscrres.aspx There's a sample C++ project that compiles an EXE but it could be refactored to a Type 1 with undo capabilties. Richard Amos <[EMAIL PROTECTED]> wrote: Anyone know how to change the screen resolution via an installer?

Re: [WiX-users] Installing PFX certificates to Trusted Root?

2008-05-08 Thread Rob Mensching
Error 0x80070056 == ERROR_INVALID_PASSWORD in winerror.h Error 0x80070003 == ERROR_PATH_NOT_FOUND in winerror.h Hopefully, those can help diagnose the issue. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tanikella, Rajanikanth (SCR US) Sent: Thursday,

Re: [WiX-users] Problem when trying to install .NET framwork 2.0 duringMSI install , plz any idea

2008-05-08 Thread Schrieken, Rene
You cannot chain dotnetfx.exe in this way. Use a bootstrapper instead: http://wix.mindcapers.com/wiki/Bootstrapper Van: [EMAIL PROTECTED] namens mounir mds Verzonden: do 8-5-2008 17:51 Aan: wix-users@lists.sourceforge.net Onderwerp: [WiX-users] Problem when tryi

Re: [WiX-users] Installing PFX certificates to Trusted Root?

2008-05-08 Thread Luke Bakken
> I am trying to get my MSI to import a PFX file into the set of Trusted > Root Certification Authorities. I made an MSI that intends to do > nothing more than this. I don't think it makes much sense to use the PFX format for a trusted root certificate since certs in that store do not have privat

Re: [WiX-users] Problem when trying to install .NET framwork 2.0 duringMSI install , plz any idea

2008-05-08 Thread mounir mds
is there a way to install the prerequisites using custom actions , thanks for the bootstrapper i'll use it is i can't find a solution with wix !! On Thu, May 8, 2008 at 6:47 PM, Schrieken, Rene <[EMAIL PROTECTED]> wrote: > You cannot chain dotnetfx.exe in this way. Use a bootstrapper instead

[WiX-users] util:XmlFile question

2008-05-08 Thread Qiu, Wenning
I am evaluating the functionality of WiX XmlConfig/XmlFile elements. Using util:XmlFile with Permanent="no", I am expecting the element node to be created when the msi is installed and removed when the product is uninstalled. The code is as follows: The element node 'First' gets created when i

Re: [WiX-users] wix nubie - Cannot connect to IIS error message

2008-05-08 Thread Tanikella, Rajanikanth (SCR US)
Hi Chuck, While testing my MSI I got the same error. Specifically, I was testing the condition I wrote on the feature that would install a virtual directory. I tried to install it on a machine that does not have IIS installed, and I got the same error. (This, of course, means that my condition

[WiX-users] installing over another file

2008-05-08 Thread Don Tasanasanta (Volt)
I understand the install scenario with versioned files but what about installing over text files: xml, txt, log, ini, etc. >From what I can see there are no being done for timestamp when installing >over non-binary files. Is there a way to check for timestamp? Aka: If file the file on the mach

[WiX-users] Integrating documentation with Visual Studio 2008

2008-05-08 Thread Doug Payne
I am trying to integrate documentation for my product into the VS 2008 documentation, using HTML_Help_Registration__RTL_---_---.msm and VSIPCC_Collection_Files_RTL_---_---.msm included in the VS 2008 SDK. Has anyone successfully accomplished this? What changes did you make to the html help merg

Re: [WiX-users] wix nubie - Cannot connect to IIS error message

2008-05-08 Thread Rob Mensching
Currently, the WiX CustomActions for configuring IIS7 require the "Legacy Admin Base Objects" (or something like that) installed to work. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Hanna Sent: Thursday, May 08, 2008 07:19 To: wix-users@lists.sourceforge.net Subject: [WiX

Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Rob Mensching
I'm not sure it is very easy to read, but there is ClickThrough support for Office Add-ins. The ClickThrough stuff may not all work but if you go through the code in wix\src\ext\OfficeExtension\wixext\OfficeAddinMsiBuilder.cs you'll see the WiX CodeDom is used to create a .wxs file that writes

Re: [WiX-users] RESEND: WixUtilExtension & Performance Counters

2008-05-08 Thread Rob Mensching
I saw them work when I wrote them originally but I haven't had the cycles to get back into the code and verify that they still work the way I remember. I was hoping to do that tonight since Thursday's are my night for working on the WiX toolset... -Original Message- From: [EMAIL PROTEC

[WiX-users] FW: installing over another file

2008-05-08 Thread Don Tasanasanta (Volt)
I understand the install scenario with versioned files but what about installing over text files: xml, txt, log, ini, etc. >From what I can see there are no being done for timestamp when installing >over non-binary files. Is there a way to check for timestamp? Aka: If file the file on the mach

Re: [WiX-users] setupbld/setupexe question

2008-05-08 Thread Tanikella, Rajanikanth (SCR US)
Hi Scott I haven't tried exactly what you are describing, but I can say this: 1) Setup.exe extracts to an uniquely named folder in %TEMP%. Whatever you have built in the setup will be extracted to there. The is MSI placed in that same folder as well. 2) I tried to embed an MSP in a setup.exe

[WiX-users] Changing the screen resolution

2008-05-08 Thread Richard Amos
Anyone know how to change the screen resolution via an installer? We have a corporate tool that works best at a particular resolution (...yeah, I know...). As it's the only thing that runs on the machines it's installed on, it would be good to alter the screen resolution as part of the installat

[WiX-users] Installing PFX certificates to Trusted Root?

2008-05-08 Thread Tanikella, Rajanikanth (SCR US)
Hello All, I see a number of examples regarding iis:Certificate, but none quite does what I need. I am trying to get my MSI to import a PFX file into the set of Trusted Root Certification Authorities. I made an MSI that intends to do nothing more than this. (If I can get that right I'll roll it

[WiX-users] Problem when trying to install .NET framwork 2.0 during MSI install , plz any idea

2008-05-08 Thread mounir mds
hello All , i am using Wix 2 , and i try to do a test on the version of .net framwork if is is lower then 2.0.50727 , i 'll install it during the msi install her is my code here is some parts of my wxs file >Guid="58E34A31-44B9-46E2-9AF7-40AB28A18168"> > Sourc

[WiX-users] RESEND: WixUtilExtension & Performance Counters

2008-05-08 Thread Jacobson, Kurt
So... nobody has seen Performance Counters work? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacobson, Kurt Sent: Tuesday, May 06, 2008 4:27 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WixUtilExtension & Performance Counters Hi Every

Re: [WiX-users] RESEND: Condition on Feature

2008-05-08 Thread Srinivas Tirupati
It's not just about the Feature Tree. When I uninstall that feature it doesn't get uninstalled. :( From: Christopher Karper [mailto:[EMAIL PROTECTED] Sent: 08 May 2008 07:03 To: Srinivas Tirupati Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] RESEND: Condition on Feature Are you rer

Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Scott Sam
I couldn't find any. Yeah it was a lot of fun figuring it out. -Original Message- From: Friedrich Dominicus [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 10:31 AM To: Scott Sam Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix for a Office Add-In? "Scott Sam" <[EMA

Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Christopher Painter
For clarity it might be helpful to mention which versions of Office you are targetting and whether you are doing pure COM or some form of managed Add-In via the PIAs, VSTO ( and version of VSTO being used) The `how` varies greatly depending on the above. Friedrich Dominicus <[EMAIL PRO

Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Friedrich Dominicus
"Scott Sam" <[EMAIL PROTECTED]> writes: > In the solution for the office plugin, there was a setup project. I > didn't create the plugin, so I don't know how they made it. I took the > msi created by that project, and decompiled it. This means it's not documented on where one has to place what?

[WiX-users] wix nubie - Cannot connect to IIS error message

2008-05-08 Thread Chuck Hanna
This is probably something very simple, but seeing as I am new to wix I just can't figure it out... I am installing a web app on a 2008 server with IIS7. When I run the .msi everything seems to work properly except that a window pops up with the message, "Cannot connect to Internet Information Se

Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Scott Sam
In the solution for the office plugin, there was a setup project. I didn't create the plugin, so I don't know how they made it. I took the msi created by that project, and decompiled it. -Original Message- From: Friedrich Dominicus [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008

Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Friedrich Dominicus
"Scott Sam" <[EMAIL PROTECTED]> writes: > I did, but I mostly just reverse engineered it from the vs installer > that got created with it. Sorry I don't get this you have reversed it from what? The Installer project which was generated by the VSTO tools? > The main problem that we had was tha

Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Scott Sam
I did, but I mostly just reverse engineered it from the vs installer that got created with it. The main problem that we had was that the file versions changed with every build, and they weren't matching the hard coded ones in the registry entries I copied from the decompiled vs installer. That an

[WiX-users] setupbld/setupexe question

2008-05-08 Thread Scott Sam
I want to embed an msi, transform, and an external cab file into the setup.exe. When the setup.exe is run the cab file needs to be extracted to the same folder as the msi. Has anyone tried this? Any hints/tips? The information contained in this email is priv

[WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Friedrich Dominicus
I'm wondering, if anyone has tried or has used wix for a COM-Addin for some Office package. Any links, hints etc are very welcome. Regards Friedrich - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don'

Re: [WiX-users] MSBuild with multiple localizations

2008-05-08 Thread RAYMENT Tim
I use $(loc.LCID) where LCID is defined in a custom localization file. In the Light task add an attribute to specify the localization files. Note we also include the wixui files from WiX2. LocalizationFiles="Path\wixui_%(Language.Culture).wxl;Path\custom_%(Lang uage.Culture).wxl;" Tim Rayment