[WiX-users] Registry key don't get deleted.

2009-07-27 Thread sandun css
Hi, I am setting a registry key, using the following code. RegistryKey Root='HKLM' Key='Software\Microsoft\ProductName\Setup' Action=' createAndRemoveOnUninstall' But, it don't get deleted when I uninstalled the msi. Please advice.. Sandun

Re: [WiX-users] Help: 'Error 26201.Error -2147467259: failed to create SQL database'

2009-07-27 Thread John Stevenson-Hoare
Hi Michael, The property SQLSERVER is being set to '(local)\SQLEXPRESS' from within the MSI database, although if I edit this using Orca to some other value it gets reset back to the above value when the setup program is run (as observed from the log file). I think that the above value is

[WiX-users] Uninstall Problem if installed on non system partition

2009-07-27 Thread Tom Kazimiers
Hi, the installer I use is written with WiX 3 and everything works, except one little problem with the uninstallation process. If I don't change the default install location (which is on the system partition of Windows) everything works as expected (everything gets removed on an uninstall). But

Re: [WiX-users] A call to aspnet_regiis -s fails for newly createdsite

2009-07-27 Thread Yan Sklyarenko
Thanks for the link, Neil. However, I've seen the samples like this and I'm not sure it is a flexible solution. You simply hardcode the script maps, but what if newer versions of IIS add some more? Or if there were customizations on a target machine I'm not aware about? Due to the fact that

Re: [WiX-users] Registry key don't get deleted.

2009-07-27 Thread Sebastian Brand (Instyler Software)
This should only happen if the key was existing prior to the installation already. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: July 27,

Re: [WiX-users] conditionally append to a directory

2009-07-27 Thread Eric Napier
If I schedule it after CostFinalize I get the following Light error: error LGHT0204 : ICE12: CustomAction: append_to_install_path is of type: 51 referring to a Directory. Therefore it must come before CostFinalize @ 1000 in Seq Table: InstallExecuteSequence. CA Seq#: 3999 -- Forwarded

[WiX-users] Uning different WiX releases at the same time msbuild?

2009-07-27 Thread Gremlin
Hi there, I made an App_v1.msi which was buillt with WiX 3.0.4721. I didn't take a higher version later because with 3.0.4805 I had problems when I create a patch with pyro. And with release 3.0.5419 heat.exe doesn't work anymore like it used to work. However, let's assume that I didn't have

Re: [WiX-users] Uninstall Problem if installed on non system partition

2009-07-27 Thread Chris Lord
Tom For files your installer places on the hard disk, the uninstall should remove them automatically unless they are still in use. There should be no need for you to manually remove these files. Directories are a different matter as the uninstall will not remove it if the directory is not

[WiX-users] How to connect Custom Action and Progress dialog

2009-07-27 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, In my install package progress dialog works fine for installation, like copying new files. The progress bar is growing during the installation. However, when I call the Custom Action, which takes pretty long time, the progress bar is always empty, untill the Custom Action is over,

[WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread MacDiarmid, James D
I found some code to create scheduled tasks during an install. I'm having trouble with one where I have to pass the following xml string on the command-line. XML string is DIRECTIONUP/DIRECTION Here is the code that creates the scheduled task: CustomAction

Re: [WiX-users] conditionally append to a directory

2009-07-27 Thread Alexander Shevchuk
Hi Eric, You want to append string to HostDir, which means that HostDir must be resolved already. That requires custom action to run after CostFinalize. To change the value of HostDir after CostFinalize you need to use CA Type 35. Read Changing the Target Location for a Directory

Re: [WiX-users] Referencing Environment Variables in WiX

2009-07-27 Thread troy hostetter
Here are my results. WiX Code: ?ifndef env.Install_Environment ? ?error env.Install_Environment variable must be defined per ifndef ? ?endif ? ?ifdef env.Install_Environment ? ?if $(env.Install_Environment) = local ? ComponentRef

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Alexander Shevchuk
Hi James, Have you tried the usual XML escaping? lt;DIRECTIONgt;UPlt;/DIRECTIONgt; Alex -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Monday, July 27, 2009 8:51 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users]

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Phil Sayers
Hi Jim, I think we both found the same wix snippet to manipulate scheduled tasks. I had to shuffle it around a little, and this is what I ended up with: CustomAction Id=CreateScheduledTask Return=check Directory=MyDirectory ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /CREATE /SC DAILY /TN

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Phil Sayers
Wouldn't be complete without the custom action to remove the task for uninstall. CustomAction Id=RemoveScheduledTask Return=ignore Directory= MyDirectory ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /DELETE /TN quot; My Scheduled Task Name quot; /F / -Original Message- From: Phil

[WiX-users] Why a lot dialogs are NOT in the InstallUISequence table?

2009-07-27 Thread Jirong Hu
e.g. why InstallDirDialog is not appear in InstallUISequence table in the msi? http://msdn.microsoft.com/en-us/library/aa372039(VS.85).aspx Thanks Jirong Hu Build Master 780-644-5488 This communication is intended for the use of the recipient to which it is addressed, and may contain

Re: [WiX-users] VB6 ComPlus Components - Installed

2009-07-27 Thread Andy McGoldrick
James, I saw that you recently had success with getting VB6 COM DLLs to install into COM+. I also saw you were attempting to set some of the options on the Properties page (Activation string?). I am also struggling along with this and wondered if you had any snippets or small wxs files you

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread MacDiarmid, James D
Thanks Alex - I'll give that a try. Jim -Original Message- From: Alexander Shevchuk [mailto:shevc...@live.com] Sent: Monday, July 27, 2009 12:09 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix Hi James, Have

[WiX-users] How to queue two custom actions and two dialogs in a right sequence?

2009-07-27 Thread Jirong Hu
Hi All What I want is like this: CustomActionA (caDisplayWebSites, to find all existing websites) -- DialogA (ConfigSFSDlg, display all existing websites and then user picks one) -- CustomActionB (caReturnWebSiteRootPath, find webroot of picked website) -- InstallDirDialog (install the new

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread MacDiarmid, James D
Thanks Phil! -Original Message- From: Phil Sayers [mailto:p...@cds-am.net] Sent: Monday, July 27, 2009 12:19 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix Hi Jim, I think we both found the same wix

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread MacDiarmid, James D
Hi Phil, In what part of the code did you put this? I have some other things I may need to do during the uninstall. I didn't realize you could have Custom Action Codes do this. Thanks very much! Jim -Original Message- From: Phil Sayers [mailto:p...@cds-am.net] Sent: Monday, July

Re: [WiX-users] VB6 ComPlus Components - Installed

2009-07-27 Thread MacDiarmid, James D
-Original Message- From: Andy McGoldrick [mailto:andy.mcgoldr...@gmail.com] Sent: Monday, July 27, 2009 12:48 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] VB6 ComPlus Components - Installed James, I saw that you recently had success with getting VB6 COM DLLs to

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Phil Sayers
I have the custom actions scheduled like this: InstallExecuteSequence Custom Action=CreateScheduledTask After=InstallFinalizeNOT Installed/Custom Custom Action=RemoveScheduledTask Before=RemoveFilesInstalled/Custom /InstallExecuteSequence I struggle with scheduling I don't get

Re: [WiX-users] VB6 ComPlus Components - Installed

2009-07-27 Thread MacDiarmid, James D
Hi Andy, Yes, I was successful in getting my VB6 COM DLLs installed into the component services, however I'm still working on getting the property pages set up. Have you gotten yours to install into Component Services? If not, can I see the snippet of code you're having trouble with? What I did

Re: [WiX-users] Referencing Environment Variables in WiX

2009-07-27 Thread troy hostetter
One last thing .. using the /t:rebuild on the MSBuild of the WiX project has alleviated the need to delete the WiX project and get the latest from the source repository. On Mon, Jul 27, 2009 at 12:06 PM, troy hostetter troy.hostet...@gmail.comwrote: Here are my results. WiX Code:

[WiX-users] DTF: How to Decide whether to Schedule or Execute Custom Actions

2009-07-27 Thread Castro, Edwin G. (Hillsboro)
Most of the custom actions I’m implementing come in groups of threes: * ScheduleInstallAction runs immediate and is responsible for scheduling the install action and it’s rollback action. * ScheduleUninstallAction runs immediate and is responsible for scheduling the uninstall action and it's

Re: [WiX-users] How to connect Custom Action and Progress dialog

2009-07-27 Thread Zachary Young
Hi Chunyan, I do not know that you can add any progress bars during the time that the custom action is being executed, but at least you can add some text to let the user that something is happening. Look at the ProgressText element. The documentation on this one is minimal,

Re: [WiX-users] How to connect Custom Action and Progress dialog

2009-07-27 Thread Wilson, Phil
The stock answer is to use MsiProcessMessage as described here: http://msdn.microsoft.com/en-us/library/aa367525(VS.85).aspx Phil Wilson -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, July 27, 2009 7:17 AM To: General discussion

Re: [WiX-users] Why a lot dialogs are NOT in the InstallUISequence table?

2009-07-27 Thread Wilson, Phil
Because the Welcome dialog (to use that example) is the only entry you need on a normal fresh install. It enters a UI sequence in which the Next and Previous dialogs will be determined by the choices the user makes, and driven by ControlEvent actions (like the NewDialog ControlEvent). Phil

Re: [WiX-users] Win 7 Uninstall from SystemFolder

2009-07-27 Thread Wilson, Phil
I'd check the MSI log in case Windows 7 has changed behavior. If the screensaver is hooked into Explorer in some way Windows might decide to postpone the file removal until a reboot. There are other sharing scenarios that will also have this effect (like saying the component is shared and

[WiX-users] Building a project using Wix 3.0.5217 fails

2009-07-27 Thread Vuchuru, Surekha (SBT US EXT)
Hello Everyone, I have installed Wix 3.0.5217 version and trying to build our project. I get a candle error candle.exe : error CNDL0144: The extension C:\Program Files\Windows Installer XML v3\bin\WixUtilExtension.dll could not be loaded. I can see that dll in the specified directory...It

Re: [WiX-users] correctly define preprocessor var in wxs?

2009-07-27 Thread jo...@msli.com
Perfect! That solved my problem. Thank you. On Sat, 2009-07-25 at 14:19 -0400, Bob Arnson wrote: jo...@msli.com wrote: The lines in MyApp.variables.wxi ?ifdef $(env.ExeName) ? Try dropping the $() surrounding it; the $() syntax tells the preprocessor to insert the value but

Re: [WiX-users] Uninstall Problem if installed on non system partition

2009-07-27 Thread Tom Kazimiers
Chris, thanks for the hint with the MSI log. I looked into it and found something odd: The INSTALLLOCATION-Directory property has another value then where the application is installed. This is strange since it is declared as the base directory in the setup sources and not modified anywhere else.

Re: [WiX-users] Help: 'Error 26201.Error -2147467259: failed to create SQL database'

2009-07-27 Thread Michael Osmond
John, I have not used merge modules, so not sure what they would do to the MSI. For debuging the custom action, you need to get the source code for WIX, then there is a line (I think it is an Asert) at the start of each action that you uncomment and compile the custom action. My

[WiX-users] Uninstall can't stop running application due to UAC

2009-07-27 Thread lambda025
On Vista SP2, I installed my application, which runs elevated thanks to its manifest, using a simple MSI I made with WiX 3. But when I want to uninstall, UAC becomes a problem. . If I manually run the MSI elevated and click Remove, it detects that my application is still running, displays its

Re: [WiX-users] Heat Not Working on x64 Primary Interop Assemblies

2009-07-27 Thread Brian Rogers
Hey Jonathan, Heat does not support harvesting 64-bit. Thanks, Brian Rogers Intelligence removes complexity. - Me http://blogs.msdn.com/icumove -- NEW On Mon, Jul 27, 2009 at 11:10 AM, jnewton jonathan.new...@ni.com wrote: I am running heat on some 64-bit PIAs so I can extract some COM

[WiX-users] Installer UI in high contrast

2009-07-27 Thread Lian Jiang
-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's