Re: [WiX-users] automatically launching .Net framework install if it (.Net framework) is not present

2007-01-16 Thread Bob Arnson
[EMAIL PROTECTED] wrote: However I want my setup to launch Microsoft Component installer SDK or .Net framewrok installer to automatically install the .Net framework if needed. You can't do that from your .msi because .NET is installed via MSI and you can't have two MSIs running simultaneousl

Re: [WiX-users] Info Dialog

2007-01-16 Thread Bob Arnson
Jonas Abrams wrote: I would like to display a dialog during my install if a specific condition is met. But after displaying the message I would like allow the user to continue with the installation. One approach is the one I took with the WiX v3 installer: It shows a dialog early in the

Re: [WiX-users] Registry key for com dll...

2007-01-16 Thread Bob Arnson
John Cole wrote: > Now I can change the value but since a user can re-target an installation, I > need to be able to set that value in the registry at installation time. The > same problem exists for files in C:\Windows\System32, those should be set to > the installers system 32 variable. > Us

Re: [WiX-users] Refresh on next button

2007-01-16 Thread Bob Arnson
Patrick Steele wrote: Thanks Levi. Is it even possible then to ensure that one of the variables I wish the user to enter is of type integer? Height="20" Property="MY_PORT" Text="{5}" Integer="yes" /> I would have though something like the above, however if you enter an alphanumberic value in

Re: [WiX-users] Requirements for dialog bitmaps

2007-01-16 Thread Levi Wilson
From the tutorial: If you want to change the bitmaps or icons, just do so in the Binary directory. The front page bitmap (named Dialog.bmp here) is a 503 by 314 pixel BMP while the top banner bitmap has 500 by 63 pixels. But note that Windows Installer might stretch or shrink these bitmaps if th

Re: [WiX-users] Requirements for dialog bitmaps

2007-01-16 Thread Steve Bennett
Ok, I don't get it, but having experimented a bit further, I have an image that works. Looks like the size and width don't even matter - WiX just stretches it. Steve _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Bennett Sent: Wednesday, 17 January 2007 2:42

[WiX-users] Requirements for dialog bitmaps

2007-01-16 Thread Steve Bennett
Hi, I'm using the WixUI_FeatureTree UI style, and having trouble customising the bitmaps. No problems with bannrbmp.bmp, but WiX is apparently rejecting my customised dlgbmp.bmp, showing no bitmap at all. I'm creating the bitmaps in MSPaint, and very carefully setting the correct size (actually

Re: [WiX-users] Bootstrapper causing a delevation of privilages

2007-01-16 Thread Magus
Sorry when I said it complains I mean it is giving me the same error. I don't do either of those methods to run the MSI, since I need my wrapper project to be able to grap and set properties in the msi I have been using MsiOpenPackageEx(MSI_PATH, 0, &g_hInstall); then calling MsiDoAcitonA(g_hInst

Re: [WiX-users] Bootstrapper causing a delevation of privilages

2007-01-16 Thread Wilson, Phil
You'll need to be a bit more specific about what "it complains" means. Is this still error 1925? It might be best to run your silent install with a command line to generate an MSI log. If you're doing msiexec /I /q then append /l*vx somefile.log and post the log somewhere. Phil Wilson -Or

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Magus
How about using the DX Sample FirewallInstallHelper. It has all that your looking for. First get the DirectX SDK, then click on the DirectX Sample Browser. Type in FirewallInstallHelper and install the project. Look at the documentation on how and what need to be in you MSI project and it is pr

[WiX-users] How to Specify Default HomePage

2007-01-16 Thread Sankaranarayanan
Hi, I am using WIX - 2.0.3620.0. Is there a way to specify default homepage while installing a virtual directory. Thanks, Sankaranarayanan MG ___ New Yahoo! Mail is the ultimate force in competitive emai

Re: [WiX-users] Bootstrapper causing a delevation of privilages

2007-01-16 Thread Magus
For the Moment I have turned off the UI sequence so it runs only the internal Progress message dialog. However once it tries to install any file it complains. Wilson, Phil wrote: > > Is this program running in your UI sequence? That would be prior to > Vista elevation. > > Phil Wilson > > >

Re: [WiX-users] DIFx prompt shows up behind UI

2007-01-16 Thread Quinton Tormanen
In case anyone is interested, I wanted to clarify that part of my problem with DIFxApp working on Vista was related to me using DIFx tools 2.01 instead of DIFx tool 2.1. 2.01 doesn't support Vista, and 2.1 does. However, the WHDC link to DIFxTools only has 2.01 for download! DIFx tools 2.1 is only

Re: [WiX-users] Bootstrapper causing a delevation of privilages

2007-01-16 Thread Wilson, Phil
Is this program running in your UI sequence? That would be prior to Vista elevation. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Tuesday, January 16, 2007 3:20 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Boot

[WiX-users] Bootstrapper causing a delevation of privilages

2007-01-16 Thread Magus
I have a program that runs on top of my MSI to handle the dialogs and other updated needed outside of the MSI like launching the program after installation, but in the user context. However when testing on Vista I run into a problem stating "You do not have sufficient privilages to complete the in

[WiX-users] Registry key for com dll...

2007-01-16 Thread John Cole
Hello, I've run tallow to get the required registry keys for a vb com dll. One problem I have is that the default value for the InprocServer32 should be set to where the dll is installed; instead it is set to where the dll came from (source). For example, it should read C:\Program Files\Compa

Re: [WiX-users] Set firewall exception

2007-01-16 Thread David Thielen
Ps - a port number of 1707 should not be dynamically allocated by the OS as it's not in the dynamic range. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.com/film.htm -Original Message- From: Mike Dimmick [mailto:

Re: [WiX-users] Set firewall exception

2007-01-16 Thread David Thielen
It's all peer to peer, no server. So each AddIn listens for the UDP broadcasts and replies to the broadcaster saying they exist. The broadcast occurs at startup and if the number of replies is greater than the license allows that AddIn is disabled. So the first N can run, the rest cannot. Thanks

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Mike Dimmick
OK, so I see that your port (1707) is registered with IANA, so you could do it by opening this port, although other applications could get a surprise if they are allocated this port by the OS. Presumably you're broadcasting in order to find a licensing server? As I recall, you don't need to open a

[WiX-users] firewall command via netsh

2007-01-16 Thread David Thielen
Hi; Since there were so many responses to this I figured I would ask on our solution. I had assumed I could set word to allow port 1707 only. But it looks like my choices are let word accept anything or let 1707 through to anything. Ie: netsh firewall add portopening protocol=all port=1707

Re: [WiX-users] Set firewall exception

2007-01-16 Thread David Thielen
Our copy protection is a UDP broadcast and a TCP reply to limit the totally number of AddIns in use to what is licensed. So we definitely want that port opened no matter what :) David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.com/film.htm

[WiX-users] automatically launching .Net framework install if it (.Net framework) is not present

2007-01-16 Thread Sandeep . Baweja
I am using Wix toolset 2.0.4611.0 to create an msi for a product that requires .Net framework 2.0. I have found help on how to check for the presence of the framework e.g. at http://blogs.msdn.com/robmen/archive/2006/10/17/wix-v3-syntax-for-detecting-the-clr.aspx However I want my setup to lau

Re: [WiX-users] Set firewall exception

2007-01-16 Thread David Thielen
I agree with you but What happens then is they install and then complain that they get the prompt. And when evaluating the product, the salespeople then complain that it is impacting sales. So... We have to. David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Tony Hoyle
David Thielen wrote: > In our case the AddIn hits the port as soon as Word starts so we need it > added on installation. I'm curious why a Word addin would be listening for incoming connections? (without giving away any trade secrets of course). Tony

Re: [WiX-users] Set firewall exception

2007-01-16 Thread David Thielen
In our case the AddIn hits the port as soon as Word starts so we need it added on installation. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.com/film.htm From: [EMAIL PROTEC

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Tony Hoyle
Wilson, Phil wrote: > The other question to ask is whether this really belongs in the > installation at all. The line between installation and configuration is > sometimes a huge gray area, but this could be seen as application > configuration that doesn't need to be in the installation. > >

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Wilson, Phil
The other question to ask is whether this really belongs in the installation at all. The line between installation and configuration is sometimes a huge gray area, but this could be seen as application configuration that doesn't need to be in the installation. I've heard suggestion that where p

Re: [WiX-users] DIFx prompt shows up behind UI

2007-01-16 Thread Rob Mensching
Heh, it turns out it was easy: [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Tuesday, January 16, 2007 12:29 PM To: Quinton Tormanen; Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] DIFx promp

Re: [WiX-users] DIFx prompt shows up behind UI

2007-01-16 Thread Rob Mensching
I'm asking around. I should know too... heh. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Quinton Tormanen Sent: Tuesday, January 16, 2007 12:11 PM To: Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] DIFx prompt shows up behind UI Does anyone have a cont

Re: [WiX-users] DIFx prompt shows up behind UI

2007-01-16 Thread Quinton Tormanen
Does anyone have a contact for the DIFx group? I can't find a current e-mail address. [EMAIL PROTECTED] was listed in one of the DIFx documents, but it's no longer valid. --Quinton From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, January 15, 2007 11:52

[WiX-users] Set firewall exception

2007-01-16 Thread David Thielen
Hi; Is there a WIX command to set an exception in the Windows firewall? If so, what is it? And can it be set for a program we are not installing (winword.exe)? Thanks - dave David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.co

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Rob Mensching
Not today. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen Sent: Tuesday, January 16, 2007 9:23 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Set firewall exception Hi; Is there a WIX command to set an exception in the Windows firewall? If so, what is

Re: [WiX-users] How2: Do not run CA when uninstall product

2007-01-16 Thread Rob Mensching
How about using Installed plus REINSTALL or REINSTALLMODE? I haven't tried it but it seems like those should get you close. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Urban Jaroslav, Ing. Sent: Tuesday, January 16, 2007 2:14 AM To: wix-users@lists.sourceforge.net Subject: [W

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Levi Wilson
It probably wouldn't be hard to do a Custom Action to do such a thing. You could do a "netsh firewall" command to do it. On 1/16/07, David Thielen <[EMAIL PROTECTED]> wrote: Hi; Is there a WIX command to set an exception in the Windows firewall? If so, what is it? And can it be set for a p

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Rob Mensching
Short answer is, "No." Medium answer is "Just launching netsh would not be sufficient to correctly install, uninstall, rollback, repair and patch Firewall exceptions." Why? Well there are a number of issues to think about: What happens if the user hits cancel (or something actually fails in yo

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Levi Wilson
Couldn't you just do a ShellExecute() on "netsh.exe" with the command line of something like "firewall add allowedprogram \"c:\\myprogram.exe\" ENABLE" as the parameter? Then you can have another one ("netsh firewall delete etc.") that removes it upon uninstall. Wouldn't that work? On 1/16/07,

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Rob Mensching
Sorry, not quite awake yet. Let me try that again... I've touched up what I was trying to say below: How would you get the "netsh firewall" command to rollback? Also, what if two installs both install the same firewall exception? How would you reference count the firewall exception? Writing

Re: [WiX-users] Set firewall exception

2007-01-16 Thread Rob Mensching
How would you the "netsh firewall" command back? Also, what if two installs both install the same firewall exception? How would you reference count the firewall exception? Writing CustomActions that modify machine state is rarely an easy task. Transactions (even compensating transactions) ar

[WiX-users] Info Dialog

2007-01-16 Thread Jonas Abrams
I would like to display a dialog during my install if a specific condition is met. But after displaying the message I would like allow the user to continue with the installation. I have tried a couple of ways. In both attempts I have created a new dialog with an OK button:

Re: [WiX-users] Running CustomAction as admin

2007-01-16 Thread André Schoorl
Found the problem... I didn't realize deferred actions only have access to a limited set of properties. Thanks for your help, -- André From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, January 15, 2007 11:53 PM To: André Schoorl Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users

Re: [WiX-users] Refresh on next button

2007-01-16 Thread Patrick Steele
I'll try a custom action now thanks. Using Integer="Yes" still does allow you to add alpha characters into the text field. Then clicking elsewhere must try to save the variable, making it crash. From: Levi Wilson [mailto:[EMAIL PROTECTED] Sent: 16 January 2007 16

Re: [WiX-users] Refresh on next button

2007-01-16 Thread Patrick Steele
Thanks Levi. Is it even possible then to ensure that one of the variables I wish the user to enter is of type integer? I would have though something like the above, however if you enter an alphanumberic value in the text field and click elsewhere the installer will crash with error code 2892,

Re: [WiX-users] Refresh on next button

2007-01-16 Thread Levi Wilson
You can ensure that it is an integer by using a custom action. I've never set @Integer='Yes', but that should not allow them to enter alpha characters in the edit control, and they should only be able to enter them in there by doing a copy paste... Are you saying that the installer crashes when

Re: [WiX-users] Refresh on next button

2007-01-16 Thread Levi Wilson
On second thought, I'm not sure if you can get it to automatically refresh to enable the "Next" button. In the thread that I sent you, when I clicked the Next button was when I was updating items on my dialog. I believe in your case you want "Next" to be enabled whenever text has been entered.

Re: [WiX-users] Refresh on next button

2007-01-16 Thread Levi Wilson
You might want to check out this thread: http://sourceforge.net/mailarchive/message.php?msg_id=37875289 I'm not sure if it will "solve" your problem, but it might give you some ideas to try to achieve what you're trying to do? On 1/16/07, Patrick Steele <[EMAIL PROTECTED]> wrote: One of my d

[WiX-users] Refresh on next button

2007-01-16 Thread Patrick Steele
One of my dialog screens requires the user to fill in two text fields: ... ... The next button should only be enabled if both variables contain data. This code appears to work but upon typing in the second value, it requires me to click elsewhere in order for the dialog to re

[WiX-users] How2: Do not run CA when uninstall product

2007-01-16 Thread Urban Jaroslav, Ing.
Hi 2 all, Is there any condition for CA, which prevents to run CA when uninstall. These CA are not set in UI. See below the code. Sure there is condition NOT Installed, but I want to run CA when reinstall too, so it fails. Sure there is condition WixUI_InstallMode = "Remove", but I