Re: [WiX-users] Newbie x64 msi question

2010-09-06 Thread Alex Ivanoff
We schedule RemoveExistingProducts after InstallValidate, so it should be safe to change all component ids. Are there any issues upgrading 63-bit to 64-bit (as far as Windows Installer is concerned)? On Mon, Sep 6, 2010 at 23:34, Rob Mensching wrote: > If you schedule your RemoveExistingProduct

Re: [WiX-users] Newbie x64 msi question

2010-09-06 Thread Rob Mensching
If you schedule your RemoveExistingProducts early, that removes the previous version of the product before installing the new one. Essentially that gives you a clean slate to rev all of your Component GUIDs. Pretty much all the other options mean you have to be very careful about managing your Com

Re: [WiX-users] Error while running Heat on website

2010-09-06 Thread Rob Mensching
Yeah, heat on websites doesn't quite work, yet. Maybe in WiX v4.0 On Tue, Aug 3, 2010 at 7:43 AM, Satyaprakash J wrote: > Hi, > I am using the command "heat website "RunwayUI" -template product -out > website.wxs" to create a .wxs file. But I get a null reference exception. > Could you let me k

Re: [WiX-users] ICE03 and ICE69 errors

2010-09-06 Thread Rob Mensching
My hypothesis is that you have a [#fileid] in the registry key that does not exist. On Mon, Aug 9, 2010 at 11:05 AM, Wang, Miaohsi wrote: > Hello, > > We are getting two ICE errors when building the msi: > > light.exe(0,0): error LGHT0204: ICE03: Not a valid foreign key; Table: > Registry, Column

Re: [WiX-users] Component reference counting & DLL sharing

2010-09-06 Thread Rob Mensching
Verbose log file will probably tell the most. On Sat, Aug 7, 2010 at 7:47 PM, Lucius Fleuchaus wrote: > The shared library uses the File element without the KeyPath attribute. > > Source="$(var.TARGETDIR)\Common.dll"/> > > > -Original Message- > From: Blair [mailto:os...@live.com] >

Re: [WiX-users] Newbie x64 msi question

2010-09-06 Thread Alex Ivanoff
I have a few more questions. We have a 32-bit installer today with all component ids explicitly specified. We are planning to move to 32/64 bit installer (mutualy exclusive) with the ability to upgrade current installations (major upgrade). 1. Should we update explicit component ids to "*"? 2. Wha

Re: [WiX-users] Wix properties not being persisted from a WXI () to a WXS ()

2010-09-06 Thread Rafael Campana
Hi Bob, I've added that attribute, but it didn't change the behavior. I ended up doing a workaround where I set a new property in the UI sequence that it then gets persisted to the I can send you the repro if you need it. > Date: Thu, 2 Sep 2010 09:01:48 -0400 > From: b...@joyofsetup.com >

Re: [WiX-users] How to set TARGETDIR and SourceDir

2010-09-06 Thread Rob Mensching
This might be interesting as well: http://robmensching.com/blog/posts/2010/1/26/StackOverflow-what-does-NameSourceDir-refer-to On Thu, Aug 5, 2010 at 12:25 PM, Blair wrote: > The Source attribute of the File element currently ignores the "SourceDir\" > beginning when it finds it. However, you ca

Re: [WiX-users] ICE38 & ICE43 Errors

2010-09-06 Thread Rob Mensching
Hmm, does this blog entry help: http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-shortcut-and-pass-all-the On Tue, Aug 10, 2010 at 4:35 PM, Vijai Kalyanapasupathy < vkal...@microsoft.com> wrote: > I have looked around all day for solutions to this issue, but I couldn't > fi

Re: [WiX-users] CustomAction not running

2010-09-06 Thread Rob Mensching
You can't log or, IIRC, launch other dialogs from a custom action activated by a DoAction. MSI limitation. On Tue, Aug 17, 2010 at 12:16 PM, Umesh Joglekar wrote: > > > Hi, > > I have a custom action executable written in c++. This pops up the browser > to the appropriate download link for a pre

Re: [WiX-users] ReserveCost == the size shown in Add/Remove Panel?

2010-09-06 Thread Rob Mensching
ARPSIZE Property? On Tue, Aug 17, 2010 at 4:42 PM, Elfe Xu wrote: > Hi, > In my product MSI, I reserve cost for the data folder with 200M, because > later when the application running, it's likely that the application will > write lots of data to the disk. > > Guid="{B9EF5DD2-75CA-4596-

Re: [WiX-users] Problem with Application pools in IIS on Windows 7/2008

2010-09-06 Thread Rob Mensching
Try a more recent build. There have been a lot of fixes in IIS7 functionality. On Wed, Aug 18, 2010 at 7:06 PM, Igor Lemsky wrote: > I simply install IIS Virtual directory and independent IIS Application pool > for this Directory. As I understand my IIS Application Pool must be deleted > during

Re: [WiX-users] ShortCuts Win 7

2010-09-06 Thread Rob Mensching
What does the verbose log file say? On Fri, Aug 20, 2010 at 6:44 AM, James Green wrote: > Hi All, > > > > I've just followed this example > http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm to > the > letter in my own script but still no short cut. Do I need to be doing > so

Re: [WiX-users] Question about install directory rights - shared directories

2010-09-06 Thread Rob Mensching
What is a "shared directory"? A file share? If so, no the Windows Installer doesn't install to file shares because it wants to manage the installed application. A file share is typically removable and thus not something you manage an application through... typically. On Mon, Aug 23, 2010 at 12:25

Re: [WiX-users] ConfigureIIS CA not getting called during cancellation

2010-09-06 Thread Rob Mensching
Sounds like a bug. Please provide a verbose log file with the repro steps. On Mon, Aug 30, 2010 at 5:34 PM, saikodi wrote: > > Hello, > > I offer two features one of which is a web site component. In order to > avoid > triggering of the ConfigureIIS CA when the non-web component is being > insta

Re: [WiX-users] Question about the installer directory

2010-09-06 Thread Rob Mensching
SourceDir can be a bit troublesome on repair/uninstall. Be careful: http://robmensching.com/blog/posts/2010/1/26/StackOverflow-what-does-NameSourceDir-refer-to On Mon, Aug 23, 2010 at 2:04 PM, Andy Glass wrote: > http://msdn.microsoft.com/en-us/library/aa371857%28VS.85%29.aspx > > Hopefully that

Re: [WiX-users] How to check if major upgrade in progress?

2010-09-06 Thread Rob Mensching
That's a great way. On Thu, Aug 26, 2010 at 11:29 AM, gapearce wrote: > > I should add that I'm using this mechanism now, and I test > "OLDERVERSIONBEINGUPGRADED", but I wanted to ask if this is the right way, > or is there a different property I can also test? > > > Property="NEWERVERSIONDET

Re: [WiX-users] How to debug CustomAction DLL

2010-09-06 Thread Rob Mensching
I like to use the AssertSz(FALSE, "debug XxxCA here"); from dutil.h. The resulting dialog gives lots of information to make it easy to attach. On Wed, Aug 25, 2010 at 2:00 PM, gapearce wrote: > > I found it pretty easy and straightforward using VS2008 to attach to a > setup > program awaiting us

Re: [WiX-users] conditionally Setup

2010-09-06 Thread Rob Mensching
Have the C++ code be a Custom Action that sets Properties and then use Component Conditions? On Thu, Aug 26, 2010 at 4:30 AM, Mathias Kahl wrote: > Hi, > i want to create a Setup which decides on an output of a c++ application > which files need to be installed. Is there any option to handle thi

Re: [WiX-users] WIX Licensing

2010-09-06 Thread Rob Mensching
Strange. We (Microsoft lawyers, actually) picked the CPL because it wasn't too restrictive. Licenses aren't like software. You can't just upgrade them because they are old. I'd like to understand better the root issue here. It is theoretically possible for WiX to change the license but I'd have t

Re: [WiX-users] light.exe -ai switch questions

2010-09-06 Thread Rob Mensching
If you keep everything as separate libraries, there shouldn't be any duplicate symbols. If you are combining .wixlibs, well that way leads to madness. It isn't clear from your description below which way you are going. On Wed, Aug 25, 2010 at 11:35 AM, jhennessey wrote: > > 1. I have a library

Re: [WiX-users] My setup delete a parent registry key which is not created by it

2010-09-06 Thread Rob Mensching
Yep, very old Windows Installer behavior. On Mon, Aug 30, 2010 at 6:55 PM, Elfe Xu wrote: > > And in this post > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Website-gets-deleted-when-uninstalling-Web-App-td5436443.html > > http://windows-installer-xml-wix-toolset.687559.n2.na

Re: [WiX-users] Problem with creating shortcut for an application in a subfolder

2010-09-06 Thread Rob Mensching
It looks like your shortcut directory tree is getting rooted in ProgramFilesFolder. That typically maps to "C:\Program Files". I think you want your shortcut directory tree to be rooted in Program*Menu*Folder. On Mon, Aug 30, 2010 at 2:37 AM, Tzvi Tafet wrote: > Hi, > > I've would like a shortcu

Re: [WiX-users] Problem loading solution after upgrading from Wix 3.0 to 3.5.2020

2010-09-06 Thread Rob Mensching
There were some big fixes to Votive in the last week or so. You might try a more recent build. On Tue, Aug 31, 2010 at 6:38 AM, Valentijn Makkenze wrote: > One or more projects in the solution where not loaded correctly. > Please see the Output Window for details. > > C:\Projects\GVR\Src Versie 6

Re: [WiX-users] Output path not to same after upgrade Wix 3.0 to 3.5.2020

2010-09-06 Thread Rob Mensching
Please file a bug. On Wed, Sep 1, 2010 at 12:34 AM, Valentijn Makkenze wrote: > After upgrading wix the output path of one of my wix projects has changed > > The locale directory is gone > Output used to be : Debug\nl-nl\ > But is now Debug\ > > More details > Wix build 3.5.2020 > It happened for

Re: [WiX-users] WebBrowser control in custom UI dialog

2010-09-06 Thread Rob Mensching
Deferred custom action? What user context is that running under? You might be surfing the web from an elevated process which seems incredibly dangerous. I've been disappointed by embedded UI (random limitations). At this point, I've focused on building a really solid external UI. On Tue, Aug 31,

Re: [WiX-users] IisExtension, IIS7 features is planned to be developed?

2010-09-06 Thread Rob Mensching
Actually, I don't expect we'll add any more functionality than this. The WiX IIS CustomActions don't provide 100% coverage of IIS6 and we won't get 100% of IIS7 either. The surface is big and returns diminish quickly... On Thu, Sep 2, 2010 at 7:37 PM, John L Krupka wrote: > > Have you tried a r

Re: [WiX-users] Newbie x64 msi question

2010-09-06 Thread Rob Mensching
SHA1 hash of the target path. It took us a long time to come up with it but we finally got it. You can see the code in wix\src\wix\Binder.cs - Binder::SetComponentGuids() On Sun, Sep 5, 2010 at 8:59 AM, Alex Ivanoff wrote: > > No. "*" component guids are stable, not randomly generated. > > If the

Re: [WiX-users] Rollback script is wrong

2010-09-06 Thread Rob Mensching
Did you ever root cause this? On Sat, Jul 31, 2010 at 11:13 PM, Bassam Tabbara wrote: > Thanks Rob. We did notice this started happening after adding a new managed > custom action. The custom action does not need a rollback so we didn't > schedule one. Does this seem reasonable? Should we always

Re: [WiX-users] Wix for ASP.Net Web Application

2010-09-06 Thread Rob Mensching
Check out heat.exe. That's about the best we have right now... On Thu, Aug 5, 2010 at 1:01 AM, Satyaprakash J wrote: > Hi, >I would like use Wix for deploying a ASP.Net Web > Application. I have added the Wix project to the solution which contains > the ASP.NET Web Application.

Re: [WiX-users] failed to open metabase key: /LM

2010-09-06 Thread Rob Mensching
Something is locking the IIS metabase preventing the installer from writing to it. You can see the retries in there because there can be things that randomly lock the metabase. But 30 seconds is usually enough unless something is being rather abusive. On Wed, Aug 11, 2010 at 9:39 AM, Joseph Vano

Re: [WiX-users] Help with WIX Installers

2010-09-06 Thread Rob Mensching
I can't say I truly understood the original requirements. The Windows Installer does generally expect the stuff it installed to be important so it does things like repair if stuff is missing. On Wed, Aug 11, 2010 at 8:29 AM, Pally Sandher wrote: > http://msdn.microsoft.com/en-us/library/aa367449.

Re: [WiX-users] ustomizing WIX messageboxes

2010-09-06 Thread Rob Mensching
You can modify the dialogs. The WiX.chm has documentation how to do this. On Thu, Aug 19, 2010 at 2:44 PM, Umesh Joglekar wrote: > > > Hi, > > Is there a way to customize WIX MessageBoxes? > > Thanks > > Umesh > > -- > Th

Re: [WiX-users] Website gets deleted when uninstalling Web-App

2010-09-06 Thread Rob Mensching
If you put the Website inside a Component element, the Component element controls it's lifetime. This is the same behavior that Files and Registry Keys have. You can move the Website out of the Component if you just want it to be a search. On Sun, Aug 22, 2010 at 11:17 PM, Sagar wrote: > > A

Re: [WiX-users] IIsExtension Catch-22

2010-09-06 Thread Rob Mensching
Open a bug. This shouldn't be a problem. Be sure to include the full version of the WiX toolset you are using. On Tue, Aug 31, 2010 at 2:46 PM, Maillet, Ed wrote: > Hey all, > I've got a MSI that installs a virtual directory using the > iis:WebVirtualDir element to an existing web site. Install

Re: [WiX-users] Detect .NET Framework 3.0

2010-09-06 Thread Eric Teutsch
http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm shows also NETFRAMEWORK40FULL and NETFRAMEWORK40CLIENT -Original Message- From: Ian Ceicys [mailto:ian.cei...@noblegroupinternational.com] Sent: September 6, 2010 16:48 To: General discussion for Windows Installer XML toolset. S

Re: [WiX-users] Detect .NET Framework 3.0

2010-09-06 Thread Ian Ceicys
I'm looking for a way to detect .NET Framework 4.0. Any resources that provide samples on how to detect this framework? Thanks, Ian Ceicys -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Tuesday, August 03, 2010 5:25 AM To: General discussion for Windows I

Re: [WiX-users] ComPlusExtension v3

2010-09-06 Thread Tenzen
Thank you. I changed language to english and now there is no error (only 12 messages) Sorry for this question but I'm a begginer: How to provide a .wxl file with those strings defined? And I get error on installation "wizzard ended prematurely" (1603). Could it be because of those 12 messages?

[WiX-users] COM+ Applications with DataBase error on install

2010-09-06 Thread Tenzen
Welcome, I am using code from this tutorial: http://www.tramontana.co.hu/wix/lesson6.php#6.11 I get 12 messages: 1) Could not find schema information for the element 'http://schemas.microsoft.com/wix/ComPlusExtension:ComPlusApplication'. [..] 12) Could not

[WiX-users] HA: missing wcautil.lib for ia64 platform

2010-09-06 Thread maksim.vazhenin
Thanks. I will enter a bug. I already built it myself, but it will be better to use this library from SDK, to always have up-to-date version. От: Bob Arnson [mailto:b...@joyofsetup.com] Отправлено: Чт, 02.09.2010 8:34 Кому: wix-users@lists.sourceforge.net Тема:

Re: [WiX-users] How to use 'Heat' to generate script (.wxsfile) and harvest files from CAB files directly? Thanks in advance!

2010-09-06 Thread Peter Shirtcliffe
Try the the archives for this list (eg http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/wix-users-f687560.html ), the wix-devs mailing list and the wix source code. -Original Message- From: Xu, Jun [mailto:jun...@ebay.com] Sent: 04 September 2010 10:44 To: General discussio

Re: [WiX-users] How to correctly use WixAppFolder for install without UAC?

2010-09-06 Thread Grigory Petrov
Thank you, Bob. I have checked "single package authoring" and it seems that for Windows Vista it's not possible to create an MSI installer with WixUI_Advanced so the "install just for you"radio button on 'advanced' tab work. Am i correct? If it is so, WixUI_Advanced seems a bit confusing to me: en