[WiX-users] ServiceInstall does nothing in WiX 3.5?

2010-04-27 Thread Navid Azimi-Garakani
Is anyone aware of a regression with ServiceInstall with WiX 3.5.1623.0? I seem to be unable to get a simple Windows service to install. The MSI does not fail and I do not get anything useful in the logs. I am trying to install on Windows Server 2008 R2 (which only ships in 64-bit). Here is the

Re: [WiX-users] Replacing welcome dialog with custom dialog

2010-04-27 Thread Jacob Moonen
Hi, Thanks. After reading this blog (again), it worked for me. Jaco -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Tuesday, April 27, 2010 8:56 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing welcome dialog

Re: [WiX-users] IIS actions failing

2010-04-27 Thread Rob Mensching
Great thanks. On Tue, Apr 27, 2010 at 4:52 PM, Matt Johnson wrote: > Also - it looks like this is the same bug reported in SFBUG:2966134 - but > unlike the other user that report it, it is still broken for me. I am > posting an update to that bug. > > Matt Johnson MCPD, MCTS, MCSD, MCDBA > Dire

Re: [WiX-users] Install condition preventing uninstall from executing

2010-04-27 Thread Sascha Beaumont
The condition should include "Installed OR" so that the condition always succeeds in a repair/remove situtation.       >From memory the easiest solution here is to fix the package you used to install (e.g. using Orca), repair and recache with the "new" package ("msiexec /fv") then you should b

[WiX-users] [Help] ConfigureIIs Custom Action for IIS7

2010-04-27 Thread Chong Li
Hi, Experts, I encountered a problem with using wix to configure IIS7. Can you give a help? Problem: There is a legacy wix project which uses Wix2 to make a setup package which targets to run on windows server2003. Now I want to upgrade it to run Server2008 but the following lines failed.

Re: [WiX-users] heat.exe: Add attribute Win64="yes" to Component elements?

2010-04-27 Thread Sascha Beaumont
Oohhh... nifty! Thanks for pointing that out Bob :) On Sun, Apr 25, 2010 at 11:42 PM, Bob Arnson wrote: > On 4/22/2010 7:29 PM, Sascha Beaumont wrote: >> No, heat doesn't harvest 64-bit information. >> >> I just do a find/replace (sed would work from the command line if it >> needs scripting) >>

Re: [WiX-users] Windows 7 x64: Windows application x64 is looking for MSVCR71.dll

2010-04-27 Thread Sascha Beaumont
You can probably just drop the 32-bit MSVCR71.dll straight into your application folder rather than worrying about a merge module. On Wed, Apr 28, 2010 at 4:21 AM, jeff00seattle wrote: > > Hi > > I am building a WiX x64 install and I want to merge into the install an MSM > (Microsoft Merge Modul

Re: [WiX-users] [1], [2] etc references in the language file

2010-04-27 Thread Matt Johnson
Those would be templates used by ActionData messages. http://msdn.microsoft.com/en-us/library/aa371614.aspx The specific values for each number would be dependent on how they are used. I recently tried using this technique for my own progress messages in a custom action, but the WixUI progress

Re: [WiX-users] Shared windows service between multiple products

2010-04-27 Thread Blair
Did you ever get a reply to this (I don't see one in my wix-users folder)? Windows Installer will automatically keep track of products that share same component GUIDs and only fully remove the component when the last product containing that component is removed. What you will want to watch out for

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread Alexander Shevchuk (Volt)
Target must be this: Target='[%ComSpec]' -Original Message- From: jeff00seattle [mailto:jeff_tan...@earthlink.net] Sent: Tuesday, April 27, 2010 5:02 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Program Menu: Target shortcut is a Directory Addendum: I have actually

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread jeff00seattle
Addendum: I have actually defined as follows: - Thanks Jeff in Seattle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Program-Menu-Target-shortcut-is-a-Directory-tp4966880p4971822.html Sent from the wix-users mailing list archive a

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread jeff00seattle
Thanks for the reply, Using the WiX schema you had provided, will need a Name: And using a shortcut name of "MyShortcutName" The program menu will be: All Programs >> MyProduct >> MyShortcutName Instead of what I am trying to g

Re: [WiX-users] IIS actions failing

2010-04-27 Thread Matt Johnson
Also - it looks like this is the same bug reported in SFBUG:2966134 - but unlike the other user that report it, it is still broken for me. I am posting an update to that bug. Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.

Re: [WiX-users] IIS actions failing

2010-04-27 Thread Matt Johnson
Follow up - I was actually two releases old (3.5.1602.0). I see that the second issue I was mentioning has already been fixed in the latest 3.5.1623.0. SFBUG:2990556. Thank you. The other issues are still happening for me with the latest release. Here's the log: Action 16:28:33: ConfigureIIs

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread Alexander Shevchuk (Volt)
Hi Jeff, Let's step back and take a closer look at your code below. Normally we start directory structure like this: ... By default, product will be installed in ProgramFilesFolder (see http://msdn.microsoft.com/en-us/library/aa370905(v=VS.85).aspx#system_folder_propertie

Re: [WiX-users] NetFxExtension and .NET 4

2010-04-27 Thread Alex Ivanoff
Is 3.5 at least beta? -Original Message- From: Jacques Eloff [mailto:repst...@gmail.com] Sent: Tuesday, April 27, 2010 18:02 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] NetFxExtension and .NET 4 No, but you can easily code the logic in your install

Re: [WiX-users] UAC issue

2010-04-27 Thread Wilson, Phil
Does that mean that you are writing to the registry using custom actions during the install's UI sequence? That's generally a bad idea for a number of reasons. How do you restore the system if the user cancels? What about silent installs? What about customers who want to deploy the MSI file wit

[WiX-users] Unnecessary Reboot Request during Uninstallation

2010-04-27 Thread Rick Liu
My installer (previleged in LaunchCondition) would install an application which requires elevated previlege (Run as Administrator). On Vista and Win7 with UAC turned on and my application is still running (as Admin), if the uninstallation is performed via "Programs and Features" or via command

Re: [WiX-users] NetFxExtension and .NET 4

2010-04-27 Thread Jacques Eloff
No, but you can easily code the logic in your installer. Also, Wix 3.0 does not work when installing .NET 4 assemblies to the GAC or trying to NGEN them, so it might be worth moving to 3.5 Jacques On Tue, Apr 27, 2010 at 11:06 AM, Alex Ivanoff wrote: > It requires WiX 3.5. Any support in 3.0? >

Re: [WiX-users] UAC issue

2010-04-27 Thread MCSB
Hello Sir, Yes we are writing to the registry using custom actions. We have a DLL file that does the writing. Thank you very much for replying. But, I would also like to share that we have found an answer to our problem. I am not sure if it's the best solution but this made our intaller run

Re: [WiX-users] Dialog for user selection?

2010-04-27 Thread Matt Johnson
Hmmm... I've been testing on a server 2008 VPC this whole time and found no issues. Love the extensions by the way. I'm also using now UserPrivileges.CheckCredentials to validate the user & password after selection. It works great! I also tried your SQLDMO_ListAvailableSQLServers, but it fa

[WiX-users] IIS actions failing

2010-04-27 Thread Matt Johnson
Hi all, I'm using the latest wix 3.5 and encountering some strangeness with the IIS Extension. When running my installer on IIS6 or IIS5.1, I get a "Failed to format string" error doing just about any of the IIS custom actions. (website, virtual directory, app pool, etc). I don't get the issue

Re: [WiX-users] WiX Logging

2010-04-27 Thread ALive
Hi, Cameron! If I'm not mistaken you can use MsiLogging Property (you can read details inside MSI SDK documentation). Remarks: The MsiLogging property sets the default logging mode for the Windows Installer package. If this optional property is present in the Property table, the installer generate

Re: [WiX-users] Dialog for user selection?

2010-04-27 Thread dB .
Note that there're known issues on Windows 2008 Server. http://msiext.codeplex.com/WorkItem/View.aspx?WorkItemId=9296 http://msiext.codeplex.com/WorkItem/View.aspx?WorkItemId=9295 I buy beer to whoever fixes these. -dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message-

Re: [WiX-users] Writing own Wix Extension

2010-04-27 Thread dB .
Does/can Interbase use ODBC? If yes, you might want to take a look at http://msiext.codeplex.com. There's a set of very generic ODBC wix extensions and a superset for MSSQL. We designed it to be generic and extensible for other databases. You would mimic the MSSQL superset to write Borland Iterb

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread jeff00seattle
Thanks for the reply I am getting close, but I am getting a cascading program menu item. I trying to setup Platform Tools as my folder shortcut. This is my current status All Programs > Platform Tools > Platform Tools I tried, but no program menu item app

[WiX-users] Apologies for "InstallValidate" spam

2010-04-27 Thread Dale Quigg
Sorry. "Gmail ate my emails" due to a filter I created. Dale -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-user

[WiX-users] Conditionally execute InstallValidate?

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like; msiexec /x MyInstal.msi /l* c:\uninstall.log I see the following; Action start 11:58:36: InstallValidate. Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total

Re: [WiX-users] Windows 7 x64: Windows application x64 is looking for MSVCR71.dll

2010-04-27 Thread Mark Modrall
We recently ran into something very similar... We build our .net assemblies MSIL, but a 3rd party assembly (dtSearch) was built platform-specific because it had a dependency on an unmanaged dll. We didn't find any MSVCR71 for x64, but the vendor did supply an x64 build of their code (both .net

[WiX-users] InstallValidate question

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like; msiexec /x MyInstal.msi /l* c:\uninstall.log I see the following; Action start 11:58:36: InstallValidate. Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total

[WiX-users] Conditional execution of InstallValidate?

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like;     msiexec /x MyInstal.msi /l* c:\uninstall.log I see the following;     Action start 11:58:36: InstallValidate.     Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total uninstall t

[WiX-users] WiX Logging

2010-04-27 Thread Kerber, Cameron
Ok, So my current WiX application is building and works fine but occasionally crashes. In those cases I would like a log file. I know I can run msiexec from a commandline with the log command line switch, but is there anyway within the actual WiX votive project to define to always use the log

[WiX-users] Execute InstallValidate based on condition?

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like; msiexec /x MyInstal.msi /l* c:\uninstall.log I see the following; Action start 11:58:36: InstallValidate. Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total uninstall t

[WiX-users] InstallValidate conditional execution?

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like; msiexec /x MyInstal.msi /l* c:\uninstall.log I see the following; Action start 11:58:36: InstallValidate. Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total

[WiX-users] Conditionally execute InstallValidate?

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like; msiexec /x MyInstal.msi /l* c:\uninstall.log I see the following; Action start 11:58:36: InstallValidate. Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total

[WiX-users] Conditionally execute InstallValidate?

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like; msiexec /x MyInstal.msi /l* c:\uninstall.log I see the following; Action start 11:58:36: InstallValidate. Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total

[WiX-users] Conditionally execute InstallValidate?

2010-04-27 Thread Dale Quigg
Hi, Looking at the log of my uninstall that was invoked like; msiexec /x MyInstall.msi /l* c:\uninstall.log I see the following Action start 11:58:36: InstallValidate. Action ended 12:12:52: InstallValidate. Return value 1. This 14 minutes represents over 60% of the total

Re: [WiX-users] Windows 7 x64: Windows application x64 is looking for MSVCR71.dll

2010-04-27 Thread Castro, Edwin G. (Hillsboro)
Ask whomever built the DLL to provide you with the appropriate version of msvcr71.dll to use with the DLL. In other words, figure out what was used to link the DLL. That should tell you which runtime you need to include in your installer. Edwin G. Castro Software Developer - Staff Electronic Ba

Re: [WiX-users] Windows 7 x64: Windows application x64 is looking for MSVCR71.dll

2010-04-27 Thread Wilson, Phil
Forget the build, the issue is the binary that needs msvcr71.dll. As far as I know, there is no native x64 version of the Microsoft VS 2003 C++ runtime support library msvcr71.dll. If someone has built a native x64 binary that requires a native x64 msvcr71.dll then I have no idea what you can do

Re: [WiX-users] Windows 7 x64: Windows application x64 is looking for MSVCR71.dll

2010-04-27 Thread jeff00seattle
Thanks for the reply, I do not have control of the build; in other words, I am provided with an x64 build and I do not have the sources. This x64 binary is from the open source community. Thereby I must merge msvcr71.dll with install upon a Windows 7 x64, or a getting "missing" error dialog at r

Re: [WiX-users] Windows 7 x64: Windows application x64 is looking for MSVCR71.dll

2010-04-27 Thread Wilson, Phil
You don't get a vote here - you are required to ship the Visual C++ runtime that goes with the version of Visual Studio the code was built with. I'd be surprised if your VC 7.1 (VS 2003) builds 64-bit code anyway, so you're shipping a 32-bit app with the 32-bit C runtime and all that will run fi

[WiX-users] Windows 7 x64: Windows application x64 is looking for MSVCR71.dll

2010-04-27 Thread jeff00seattle
Hi I am building a WiX x64 install and I want to merge into the install an MSM (Microsoft Merge Module) for an Windows x64 application that is needing MSVCR71.dll. The deployment of this application is intended for Windows 7 x64. Which merge module should I be using? I thought maybe I should be

[WiX-users] Patch

2010-04-27 Thread Carolina Zuqueto Amaral
Hi, What changes can I to do with the Patch? Can I to do changes in database? Thanks, Carolina Zuqueto Amaral carolina.ama...@conv.com.br tel +55 21 2494-5476 cel +55 21 9524-7186 Confidencialidade: A informa??o contida nesta

Re: [WiX-users] Program Menu: Target shortcut is a Directory

2010-04-27 Thread Alexander Shevchuk (Volt)
In http://blogs.technet.com/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-shortcuts.aspx search for "Special case - Starting application in the command window", change: Arguments='/k "[!ConsoleApp.exe]"' To: Arguments='/k' That will open command window in the folder of your choice. Goo

Re: [WiX-users] NetFxExtension and .NET 4

2010-04-27 Thread Alex Ivanoff
It requires WiX 3.5. Any support in 3.0? -Original Message- From: Jess Sheneberger [mailto:jess.sheneber...@neudesic.com] Sent: Tuesday, April 27, 2010 12:57 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] NetFxExtension and .NET 4 http://wix.sourcefo

Re: [WiX-users] NetFxExtension and .NET 4

2010-04-27 Thread Jess Sheneberger
http://wix.sourceforge.net/manual-wix3/check_for_dotnet.htm In the wix 3.5 version of WixNetFxExtension.dll there are several properties for .NET 4. I use NETFRAMEWORK40FULL, you can take a look at the source if you want to see the others. Jess Sheneberger Senior Software Engineer - Neudesic

[WiX-users] NetFxExtension and .NET 4

2010-04-27 Thread Alex Ivanoff
Is it possible to detect .NET 4 with WiX? -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users

[WiX-users] Patch

2010-04-27 Thread Carolina Zuqueto Amaral
Hi, What changes can I to do with the Patch? Carolina Zuqueto Amaral carolina.ama...@conv.com.br tel +55 21 2494-5476 cel +55 21 9524-7186 Confidencialidade: A informa??o contida nesta mensagem de e-mail, incluindo quaisquer

[WiX-users] calling DLL function from InstallUISequence

2010-04-27 Thread glenneroo
Google hath failed me again. I'm launching a custom dialog: 1 and I'm trying to call a DLL from within my custom dialog: Except Light returns this error code: error LGHT0094: Unresolved reference to symbol 'WixAction:InstallUISequence/InstallDirDlg' in section 'Fragment:'. If I repl

[WiX-users] Writing own Wix Extension

2010-04-27 Thread vunder
I could not find normal step-by-step help, how to write extension. I wrote a extension class and compiler class, assembly is loading by candle.exe/light.exe (http://blogs.msdn.com/pmarcu/archive/2007/11/02/wix-writing-your-own-wix-extension-part-1.aspx) but what next? I want to write some Borland

Re: [WiX-users] Dialog for user selection?

2010-04-27 Thread Matt Johnson
That's exactly what I was looking for. Thank you! Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.timeamerica.com -Original Message- From: dB. [mailto:dbl...@dblock.org] Sent: Monday, April 26, 2010 7:05 PM To: Gen

Re: [WiX-users] Compound Properties using CustomAction?

2010-04-27 Thread Pally Sandher
Meant to link http://msdn.microsoft.com/en-us/library/aa371245.aspx also. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registe

Re: [WiX-users] Compound Properties using CustomAction?

2010-04-27 Thread Pally Sandher
http://msdn.microsoft.com/en-us/library/aa370912.aspx (short version: by Windows Installer design). Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental

Re: [WiX-users] what is the difference between library and mergemodules?

2010-04-27 Thread Pally Sandher
Merge modules (.msm) can be used by any MSI building package. They are the Windows Installer version of libraries. See http://msdn.microsoft.com/en-us/library/aa369820.aspx Wix Libraries (.wixlib) are only usable by WiX AFAIK. See http://robmensching.com/blog/posts/2008/10/10/What-are-.wixlibs-and-

Re: [WiX-users] WiX 3.5 Source Code

2010-04-27 Thread Pally Sandher
Don't take this personally but this discussion should really be on the wix-devs not wix-users. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solu

Re: [WiX-users] Replacing welcome dialog with custom dialog

2010-04-27 Thread Pally Sandher
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registere

[WiX-users] [1], [2] etc references in the language file

2010-04-27 Thread Andy.Kruger
Can anybody tell me what exactly it fmeans?? does it correspond to a property / system variable that gets set during the installation??? - Andy MSI Developer Schneider Electric -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/1-2-etc-references

Re: [WiX-users] I need the Repair to behave as Reinstall

2010-04-27 Thread Houssam Hamdan
Transitive flag does not work with components which include tags. The setup keeps reinstalling the files to the previous install locations saved in the registry during installation. I want identical behavior as at install time as Phil mentioned. I need to change/select the application folder of a

Re: [WiX-users] WiX 3.5 Source Code

2010-04-27 Thread Wilbert van Dolleweerd
I would like to add my support for a move to Git or Mercurial (my personal favorite is Git, but Mercurial will do). In my personal experience using Git (and Github) makes it much easier for me to supply patches - this is an area in which I find Wix is lacking. Kudos for the tool though ;-) -- Ki