Re: [WiX-users] CustomAction following specific CustomAction fails

2009-02-25 Thread jballe
Can I do anything to find out what is happening in this install project. I guess the OpenDialog customaction seems okay, with the change Rob suggested. Yan, you had a good suggestion but it doesn't seems like the managed action is actually invoked. My guess is that it is related to the action

[WiX-users] Delete folders

2009-02-25 Thread sandun css
Hi, When I uninstall my application, all the folders which were created after the installation remains without getting deleted. How can I delete those folders? Can't I delete all the folders exist in the Install directory ? If so, how to do it? Thanks, Sandun

[WiX-users] Define constants

2009-02-25 Thread sandun css
Hi, I need to use a certain value in multiple places of the WiX code. Therefore, when that value gets changed, I have to do that change in many places. Is there a way that I can define constant variables kind of thing? I think using the 'Property' element is not suitable here, since Property

Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-25 Thread Jacob, Christian
I don't know if I am getting this wrong, but can't you simply check for the existance of the VersionNT64 Property? It is set by the windows installer only on 64 bit systems. Look here: http://msdn.microsoft.com/en-us/library/aa372497(VS.85).aspx -Ursprüngliche Nachricht- Von: akash

[WiX-users] Nested MSI

2009-02-25 Thread dedek mrazko
Hi there Is it possible to create in wix a CustomAction that starts another MSI? (Nested instalation). If so, could you give me an example. I know how to add this kind of a action to a *.msi once it is created. What i need is action that looks like: - action: MyCustomAction - type: 87 -

[WiX-users] Guidence to Implement Prerequisite for MSI installers

2009-02-25 Thread Prabhat Nath
Hello, I am working with WiX installer for my application (MSI installer) which requires SQLCE as prerequisite. So I have implemented Bootstrapper in my WiX project. So now I have a “*Setup.exe*” file that can be started to install required prerequisites (SQLCE) and start the application

Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-25 Thread akash bhatia
Thank You! On Wed, Feb 25, 2009 at 2:42 PM, Jacob, Christian cja...@toptechnologies.de wrote: I don't know if I am getting this wrong, but can't you simply check for the existance of the VersionNT64 Property? It is set by the windows installer only on 64 bit systems. Look here:

Re: [WiX-users] Delete folders

2009-02-25 Thread Yan Sklyarenko
MSI supports this via RemoveFile table: http://msdn.microsoft.com/en-us/library/aa371201.aspx. WiX wraps this into RemoveFile and RemoveFolder elements (see docs on this). -- Yan -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: Wednesday, February 25, 2009 10:45 AM

[WiX-users] CA after ChainedMSI?

2009-02-25 Thread Jacob, Christian
Does anyone know how to make an MSI execute a custom action *after* it has installed another MSI by using the 4.5 feature ChainedMSI? I basically need to install a 3rd party runtime after I installed my own application and right after that chained installation, I need to call an executable that

Re: [WiX-users] Define constants

2009-02-25 Thread John Nannenga
Take a peek at the Preprocessor section in the WiX.chm file. It has all sorts of information in this regard, complete with examples. -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: Wednesday, February 25, 2009 2:59 AM To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] Patch uninstall requires the original base MSI andI don't know why

2009-02-25 Thread Tony Juricic
Thanks, I managed to identify the problem in the log. The change that made patch uninstall ask for the source (it didn't before) is because I have a new DLL which gets installed in shared location. DLL is supposed to always increase in version so it can be patched up but it should never revert to

Re: [WiX-users] CustomAction following specific CustomAction fails

2009-02-25 Thread John Nannenga
Your CA isn't running because although you've defined the custom action within Product.wxs you haven't scheduled it for execution (you have no sequences defined which would invoke your CA). For example... . . . InstallExecuteSequence Custom Action=TestManagedAction

Re: [WiX-users] Nested MSI

2009-02-25 Thread Chris Lord
Afraid not. It's not a WiX issue but rather a Windows Installer limitation. If you need to run two MSI's, your only option is to use a bootstrapper to call the MSI's separately. Chris Lord -Original Message- From: dedek mrazko [mailto:aleask...@gmail.com] Sent: Wednesday, February

[WiX-users] Re-ordered cab files

2009-02-25 Thread Gareth
Using Wix 2.0.5805.0, I have a package that creates 3 cab files; 2 for general compressed files and the 3rd for merge modules. I need to patch this package with a couple of new files, which I have added to a newly defined 4th cab so as not to add any files to existing cabs and thus transforming

[WiX-users] MakeSfxCA and project output

2009-02-25 Thread Shawn Dwyer
Hi, Is there a way to get MakeSfxCA include everything in my CA project ouput directory recursively, maintaining folder structure? It seems to me this would be the simplest way of ensuring all necessary dependencies are there at runtime. For a simple example say I have my EULAs for each

Re: [WiX-users] Re-ordered cab files

2009-02-25 Thread John Nannenga
Ref: http://msdn.microsoft.com/en-us/library/aa368060(VS.85).aspx -- SDK documentation pertaining to this issue. Where the rubber then meets the road [within WiX] is within your directory elements...if you have any file additions / removals within your directory table, that impacts file

Re: [WiX-users] Re-ordered cab files

2009-02-25 Thread Gareth
The new elements are contained in a brand new WiX file that is #included at the end of my existing WXS project file. They are both in new components with seperate existing DirectoryRefs - it's as simple as it can get. They're in a newly defined CAB so as to not alter any existing CABs, and the

Re: [WiX-users] Re-ordered cab files

2009-02-25 Thread John Nannenga
I had similar problems a while back and the situation that set me over the edge was when we encountered absolutely zero install / WiX code changes but the file sequences were changing [tracked it down to an environment issue, versions of .Net installed on the machine]. I woke up one morning

[WiX-users] Uninstall on Windows 2008 Server

2009-02-25 Thread Swandog
Hi: I have an MSI that is stopping the SQL Server service during uninstall on Windows 2008 Server. Is this supposed to occur? Thanks, Greg _ It’s the same Hotmail®. If by “same” you mean up to 70% faster.

[WiX-users] CopyFile Element - looking for a tutorial

2009-02-25 Thread MacDiarmid, James D
I have a set of backed up scheduled tasks (*.job files) that I need to copy to the Windows Task folder during install. Can anyone point me to something that will show me how this works? Thanks, Jim -- Open Source

Re: [WiX-users] allow user to specify a location

2009-02-25 Thread Anu Dev
Hi Specify the below property  Property Id=WIXUI_INSTALLDIR Value=TARGETDIR / Thank you Anu From: Naga Ram .C nagara...@symphony.cc To: wix-users@lists.sourceforge.net Sent: Tuesday, February 24, 2009 9:44:19 PM Subject: [WiX-users] allow user to specify a

[WiX-users] Question about including large number of modified files...

2009-02-25 Thread Tabmow
Hi all, I'm new to wix, and have looked at the tutorial at tramonta and searched around various places, but the answer to this isn't immediately obvious to me, so I was hoping someone could help shed some light on it. Our installer will be installing 3 large directories. Two of them are

Re: [WiX-users] Uninstall on Windows 2008 Server

2009-02-25 Thread Joe Osman
This shouldn't happen. Our MSI installer run on Windows Server 2008 and creates a database on install and removed it on uninstall and it doesn't stop the service. Can you post your code ? Swandog wrote: Hi: I have an MSI that is stopping the SQL Server service during uninstall on

Re: [WiX-users] Uninstall on Windows 2008 Server

2009-02-25 Thread Gregory Swanson
Thanks for the reply Joe. Here is an excerpt from InstallExecuteSequence. I use a CA to drop the databases (ATDropDB), and at the point the CA is executed the service is no longer running. In fact I watch the services manager, refreshing as the uninstall begins, and the service is stopped

Re: [WiX-users] Question about including large number of modified files...

2009-02-25 Thread Brian Rogers
Hey, First, I just want to re-iterate the difficulty in doing dynamic creation of WIX source files (wxs). See what Bob Arnson had to say ( http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/). Second, it looks like you are using WIX 2.0 as you mentioned tallow.exe. In WIX 3.0 this has been

Re: [WiX-users] Uninstall on Windows 2008 Server

2009-02-25 Thread Joe Osman
Hi Gregory, Can you post the code of your CA that drops the DB? Gregory Swanson wrote: Thanks for the reply Joe. Here is an excerpt from InstallExecuteSequence. I use a CA to drop the databases (ATDropDB), and at the point the CA is executed the service is no longer running. In fact I

[WiX-users] Creating VirtualDir within existing WebDir

2009-02-25 Thread troy hostetter
Any idea how to do this? What I want is to create MyVirtualDir within an existing WebDir called MyWebDir. IIS looks like this: MyWebSite MyWebDir MyVirtualDir My current WiX configuration looks like this: Fragment iis:WebAppPool Id=WAP__UberPool Name=UberPool /

Re: [WiX-users] Uninstall on Windows 2008 Server

2009-02-25 Thread Gregory Swanson
I discovered the cause. First, thanks - if you didn't reassure me that the service is not stopped by Windows Installer on 2008 I wouldn't have found the cause as soon. We use WMI in the ATShutDownProcessor CA to shut down all processes that have our standard name. In an unfortunate

Re: [WiX-users] Question about including large number of modified files...

2009-02-25 Thread Tabmow
Hi Brian, Thanks for the reply. I fully get the difficulty of doing dynamic creation, that's why I think having a zip file in there would work in this situation, but all the conversations about wix zip files seem pretty negative, hence why I thought I'd ask. Yes, I'm using wix 2.0 - I

Re: [WiX-users] Question about including large number of modified files...

2009-02-25 Thread John Robbins
Hi, Glad you like Paraffin. :) What you're asking to do is extremely hard, if not impossible, to accomplish with windows installer. Paraffin was designed for the case where the base files are stable and you're adding files to the installation. If you have such radical changes in files, you

Re: [WiX-users] Patch uninstall requires the original base MSI andI don't know why

2009-02-25 Thread Bob Arnson
Tony Juricic wrote: DLL is supposed to always increase in version so it can be patched up but it should never revert to previous version during patch uninstall. Whether that's true depends on your original product's REINSTALLMODE property. I assume that just marking the file component as

Re: [WiX-users] CA after ChainedMSI?

2009-02-25 Thread Bob Arnson
Jacob, Christian wrote: Does anyone know how to make an MSI execute a custom action *after* it has installed another MSI by using the 4.5 feature ChainedMSI? No, CAs execute only within the context of an installation. But your chainer can call processes on its own outside the context of

Re: [WiX-users] Nested MSI

2009-02-25 Thread Bob Arnson
dedek mrazko wrote: Is it possible to create in wix a CustomAction that starts another MSI? (Nested instalation). No, nested installations are deprecated by the MSI team. -- sig://boB http://joyofsetup.com/ --

[WiX-users] Wix 64 Build error Cannot find Candle.exe

2009-02-25 Thread NickTheBrick
Guys, There is an error I have been getting for a while now and I thought it would have been fixed in the latest build but it is not. C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.0\Wix.targets(1240,5): error MSB6004: The specified task executable location C:\Program Files\Windows Installer

[WiX-users] util:User doesn't role back

2009-02-25 Thread Joe Osman
My installer creates a new user and gives it a random password during the install. The installer also installs a service which using this username and its password. During a product upgrade the installer generates a new password for this user and reinstalls the service with a new password.

[WiX-users] DTF Debugging

2009-02-25 Thread Christopher Painter
Is anyone having problems having trouble debugging DTF CA's? I used to be able to set the MMsiBreak environment variables and step into my code without any difficulty but now when I attach the debugger I get an error message saying that no symbols are loaded for any stack frame. The source

Re: [WiX-users] Wix 64 Build error Cannot find Candle.exe

2009-02-25 Thread Bob Arnson
NickTheBrick wrote: There is an error I have been getting for a while now and I thought it would have been fixed in the latest build but it is not. We're not psychic.g C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.0\Wix.targets(1240,5): error MSB6004: The specified task executable

Re: [WiX-users] util:User doesn't role back

2009-02-25 Thread Bob Arnson
Joe Osman wrote: During a rollback of a product upgrade the service is rolled back but the user doesn't so the result is an old service using old password and a user with the new password. There's no way to get the user's old password, so there's no way to roll back the update of an

Re: [WiX-users] Question about including large number of modified files...

2009-02-25 Thread Bob Arnson
John Robbins wrote: If you have such radical changes in files, you may want to do is always go the major upgrade route and schedule an uninstall of the previous version. That way you don't have to worry about the individual files changing. The always brilliant Bob Arnson write about this

[WiX-users] ICE33 warning and creating class table

2009-02-25 Thread Sudripta Nandy (Sarangsoft Corporation)
I want to register few COM components. So, I am using 'Class' element for the purpose. I have the following syntax: Component Id='MyComponent' Guid='32ACC71F-C0B9-4e73-BA10-1B3A882701BD' File Id='MyFile' Name='MyFl' LongName='MyFile.dll' DiskId='1' Source='MyFile.dll' Class

Re: [WiX-users] Question about including large number of modified files...

2009-02-25 Thread Thomas S. Trias
I assume the changes are logged into a revision control system of some kind; what we are doing is keeping fragments of WiX as versioned properties of the associated files and directories. When we do a new build, we grab the revision history, pre-process the WiX as necessary, shove the results

Re: [WiX-users] Re-ordered cab files

2009-02-25 Thread Thomas S. Trias
It should be possible to just post-process the .wixobj using your favorite XML parser (assuming there are no binary streams in it). If there are binary streams in it, then I can really say what would happen if you just change the XML portion. Of course, one way around the issue is to compile

Re: [WiX-users] Creating VirtualDir within existing WebDir

2009-02-25 Thread Thomas S. Trias
You can set the Alias to MyWebDir/MyVirtualDir. Luckily you didn't want to create a WebDir and fill in with content - I'm working around that now, and it isn't pretty under Vista (and possibly 2008) due to permissions and timing issues. I will agree with you that the reference model for the

[WiX-users] Localized Product Version

2009-02-25 Thread Matthias Rainer
Hi everybody, I'm trying to use a localized product version but I get this error running candle: package.wxs(20) : error CNDL0108 : The Product/@Version attribute's value, '!(loc.Version)', is not a valid version. Legal version values should look like 'x.x.x.x' where x is an integer from 0 to

Re: [WiX-users] DTF Debugging

2009-02-25 Thread Christopher Karper
I've been using the MessageBox / Attach method, and that has been working fine for me. I'm using a release that's 2-3 weeks old, but no issues here. Chris On Wed, Feb 25, 2009 at 4:26 PM, Christopher Painter chr...@deploymentengineering.com wrote: Is anyone having problems having trouble

[WiX-users] Adding to the FilesInUse Dialog

2009-02-25 Thread Dan Giambalvo
I'm trying to figure out how to add to my installer's FilesInUse dialog. My Installer contains a custom action that requires a separate exe on the system not be running (firefox.exe.) Obviously I don't install firefox, and I don't touch it in any way obvious to the installer, so it doesn't

[WiX-users] Localization with WiX3

2009-02-25 Thread anwer nehal
I was reading through the latest documentation about WiX3 localization and noticed that it mentions under Using Localized Versions of WixUI that if you are using WixUIExtension, it has translated strings and .wxl files for some languages, like de-de, ja-jp, etc. With this in mind, I set the

Re: [WiX-users] util:User doesn't role back

2009-02-25 Thread Wilson, Phil
And it's mentioned in the Password description of the ServiceInstall table: http://msdn.microsoft.com/en-us/library/aa371637(VS.85).aspx Phil Wilson -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, February 25, 2009 2:07 PM To: General discussion for

Re: [WiX-users] Creating VirtualDir within existing WebDir

2009-02-25 Thread troy hostetter
Wow! That was simple enough! Thanks Tom! Regards, - Troy On Wed, Feb 25, 2009 at 5:56 PM, Thomas S. Trias tomtr...@artizan.comwrote: You can set the Alias to MyWebDir/MyVirtualDir. Luckily you didn't want to create a WebDir and fill in with content - I'm working around that now, and it

[WiX-users] WixUI_Mondo and Custom Dialog/s.

2009-02-25 Thread spsingam
hi all, I am using WixUI Mondo as my UI during the installation. Now i have realised that i need to gather some user information, so i want to introduce a dialog. I might choose to use this information later. How do i do this ? Regards. :) -- View this message in context:

Re: [WiX-users] Define constants

2009-02-25 Thread sandun css
Thanks a lot for the help :) On Wed, Feb 25, 2009 at 9:48 PM, John Nannenga john.nanne...@microsoft.comwrote: Take a peek at the Preprocessor section in the WiX.chm file. It has all sorts of information in this regard, complete with examples. -Original Message- From: sandun css

Re: [WiX-users] MakeSfxCA and project output

2009-02-25 Thread Shawn Dwyer
I think I'm getting close but I'm getting an error when unpacking. Reading the source for MakeSfxCA I found the GetPackFileMap function and reading the description: By default, all files will be placed in the root of the cab. But inputs may optionally include an alternate inside-cab file path

Re: [WiX-users] Delete folders

2009-02-25 Thread sandun css
I need to delete all the folders exist inside the install directory. (without specifing their names) RemoveFile, RemoveFolder elements need file and folder names to be specified. Is it possible to do this withour specifing the names ? On Wed, Feb 25, 2009 at 6:42 PM, Yan Sklyarenko

[WiX-users] Launching an application at the end of Install (using WIX V2)

2009-02-25 Thread Naresh Jain
Hello, I have a requirement to launch an installed application at the end of the installation (when user clicks the Finish button). I see that there is a straightforward way to do this in Wix v3 but I don't see how to achieve it in Wix V2. If there are any examples/tutorials that show how to

Re: [WiX-users] Localized Product Version

2009-02-25 Thread Matthias Rainer
Hi everybody, After reading the reply to another post, I switched variables like the product version to preprocessor variables, which is pretty much what I have been looking for (since I only localized the version to reuse the variable). I'm still wondering though if I might have missed a reason

Re: [WiX-users] DTF Debugging

2009-02-25 Thread Jacob, Christian
I don't know if this helps you, but I can tell about my experiences regarding the debugging of DTF managed custom actions. The CA's I wrote for a customer setup do things like account verification and creation, configuration of DCOM settings, registry manipulation and such. This means: They

Re: [WiX-users] CustomAction following specific CustomAction fails

2009-02-25 Thread jballe
Both customactions are executed during UI for the mentioned buttons (browsefile and execute managed action) I publish the DoAction. The original problem was: In the UI the user can select to install a license file. I have a C++ customaction which opens the OpenFile dialog and sets it to a