Re: [WiX-users] How to hide features based on CD-KEY

2007-09-24 Thread Kelly Leahy
Bob, thanks for the reply, I see that I am able to remove the item by changing my feature to be shown, but then using the Remove event as you mentioned in your blog. However, I'm wondering if it's possible to remove the feature completely? Is there some event I can call to remove the feature f

Re: [WiX-users] Wix Bug, Installs to drive with most space

2007-09-24 Thread Bob Arnson
Craig0ss wrote: > Im still playing around with my installer, testing mainly and ive come > across what appers to be a bug in Wix (im told) > > Basically on install, if the user selects an install dir with say 2gb free > space, the installer will auto install to the c drive that has eg 4gb free > s

Re: [WiX-users] How to hide features based on CD-KEY

2007-09-24 Thread Bob Arnson
Kelly Leahy wrote: First of all, is this possible? It seems like it should be with feature conditions, but it seems like the feature conditions are being evaluated before my CD-KEY is tested by my VBscript code. See http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/ for an expla

Re: [WiX-users] Browse dialogs New folder (Localization)

2007-09-24 Thread Strele Franz
You need to define the "UITextNewFolder" string in a .wxl-file like this: http://schemas.microsoft.com/wix/2006/localization";> Ordner|Neuer Ordner Or in a .wxs-file like this: Ordner|Neuer Ordner > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:wix-users- >

[WiX-users] Browse dialogs New folder (Localization)

2007-09-24 Thread Magus
I am trying to localize my installer, and I have come across an issue where my browse dialog always makes "New Folder" as the name for a new folder, however this should be happening on other other operating systems. Is there anyway to specify which folder name I want this to create or start out wi

Re: [WiX-users] WiX v3: COM on Vista. I have some success, but worried about heat's erroneous output.

2007-09-24 Thread Roy Abou Assaly
Roy Abou Assaly wrote: > > I basically have about 150 COM, ActiveX VB6 files. I ran heat to produce > the output and then modified them to produce 2 merge modules. I used heat > to avoid using the SelfRegCost attribute which as been frowned upon by > many here. I read Rob's blog about that :)

[WiX-users] Create Web Application pool using current longon user

2007-09-24 Thread Yongzhi Yu
Hi All: I am a newbie of WIX, and I have the following question: I need to create a Web Application Pool that runs under the current logon user. However, the following code does not work in wix ~~~ ~~~ The compiler error is: *

[WiX-users] Removing a file from the GAC using a patch

2007-09-24 Thread LindseyLeu
Hi, I have an assembly installed by the RTM installer that was put into the GAC. I now want to remove the file in a patch because it is no longer needed. How should I author my wix code to delete the file? Thanks, Lindsey -- View this message in context: http://www.nabble.com/Removing-a-file-f

[WiX-users] Restoring SQL database from backup file

2007-09-24 Thread jmin70
Hi, Is there any way to restore SQL db from backup file by using SqlScript as below? Using SqlFileSpec for data and SqlLogFileSpec for log file elements were also not successful.

Re: [WiX-users] Run my Setup.exe file if user clicks the MSI file

2007-09-24 Thread Wilson, Phil
It's not that odd - MSI 4.5 has this kind of thing. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Saturday, September 22, 2007 5:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Run my Setup.exe file if user clic

[WiX-users] WiX v3: COM on Vista. I have some success, but worried about heat's erroneous output.

2007-09-24 Thread Roy Abou Assaly
I basically have about 150 COM, ActiveX VB6 files. I ran heat to produce the output and then modified them to produce 2 merge modules. I used heat to avoid using the SelfRegCost attribute which as been frowned upon by many here. I read Rob's blog about that :) I ran into 2 warnings which were

Re: [WiX-users] How to detect a running process which is not part of the installing files ???

2007-09-24 Thread Wilson, Phil
The potential issue with closing down a COM server is what the clients do. If you terminate it forcibly and there are (say) 10 clients using it, what will these clients do? Crash? Lose data? IMO it's more usual to replace COM servers in place rather than to a different folder. Then you can take a

Re: [WiX-users] WiX 2.0, SqlDatabase, non-default instance and port

2007-09-24 Thread Schrieken, Rene
Try for [EMAIL PROTECTED]"yoursqlserver,8080" where 8080 is the non-default portnumber for your sqlserver AFAIK the customaction is not doing any magic with the servername so the SqlOleDb connect should receive the alternative port. http://www.sqlmanager.net/en/articles/1209 Hope this

[WiX-users] WiX 2.0, SqlDatabase, non-default instance and port

2007-09-24 Thread Roger Lipscombe
I've got a customer who's running their Microsoft SQL Server 2005 instance on both a non-default instance name, and on a non-default port number. How do I specify the port number in a element? Cheers, Roger. - 1E can save a company with 10,000

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Bob Arnson
János Brezniczky wrote: > According to this topic I'd like to ask whether it is a good or bad > choice if I use an embedded DLL () implenting the > functionality to tackle with the running executable issue. It becomes > interesting when it comes to deploying the application to 64 bit > platform

Re: [WiX-users] Help on Service

2007-09-24 Thread Bob Arnson
Anidil wrote: > I see the service getting registered under the path, > HKLM\SYSTEM\CurrentControlSet\Services\service.Do you mean to put these > registry values directly?If yes, tomorrow if there gonna be some change in > windows with regards to service registry update path,how will i make sure

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Bob Arnson
Rob Hamflett wrote: > One of the things required for Windows Installer to put an entry in the > FilesInUse dialog is that it > needs to be able to find a window handle. This is why the program doesn't > appear in the list if > it is in the tray. It's looking for a top-level window with a ti

[WiX-users] Wix Bug, Installs to drive with most space

2007-09-24 Thread Craig0ss
Hey Im still playing around with my installer, testing mainly and ive come across what appers to be a bug in Wix (im told) Basically on install, if the user selects an install dir with say 2gb free space, the installer will auto install to the c drive that has eg 4gb free space, regardless of

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Rob Hamflett
I think a DLL is probably the best way to handle most custom actions. I'm fairly sure the 32-bit version would work fine under Win64. You could always create a DLL that does nothing too difficult and give it a quick test. Rob János Brezniczky wrote: > Hi, > > According to this topic I'd

Re: [WiX-users] Run my Setup.exe file if user clicks the MSI file

2007-09-24 Thread Craig0ss
with the code that Rob left you may wish to put "or Installed" after it, this will allow the add remove programs to successfully remove your app, with the current code, the app wont install unless the setup.exe is run, however if you try to remove using add remove programs you get your error msg "

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread János Brezniczky
Hi, According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL () implenting the functionality to tackle with the running executable issue. It becomes interesting when it comes to deploying the application to 64 bit platforms. I mean in this case, would it

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Rob Hamflett
This page has a good example of enumerating processes and getting the executable file names. http://msdn2.microsoft.com/en-us/library/ms682623.aspx You would need your Custom Action to read a property from the MSI which contained the names to look for, and then compare that list against the pro

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Veerendra
Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: > > One of the things required for Windows Installer to put an entry in the > FilesInUse dialog is that it > needs to be able to find a window handle. This is

[WiX-users] choosing Webserver and changing Virtual Directory

2007-09-24 Thread [EMAIL PROTECTED]
Hi all, I am searching a posibility how I could let the customer choose the webserver (like in the Visual Studio WebSetup) and to change the Virtual Directory. I think changing the Virtual Directory should not be a big problem, just adding a Textbox and triggering a custom action setting the p

Re: [WiX-users] Help on Service

2007-09-24 Thread Anidil
I see the service getting registered under the path, HKLM\SYSTEM\CurrentControlSet\Services\service.Do you mean to put these registry values directly?If yes, tomorrow if there gonna be some change in windows with regards to service registry update path,how will i make sure that does not affect

Re: [WiX-users] Run my Setup.exe file if user clicks the MSI file

2007-09-24 Thread Rob Hamflett
From a previous post: "You could put a Condition element under the Product element like this: RUNFROMEXE = 1 When you call msiexec from the exe be sure to pass RUNFROMEXE=1 as an argument. Double-clicking the MSI file obviously won't provide this argument, and so the launch condition will fail."

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Rob Hamflett
One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll n