[WiX-users] Disk Cost Details in Wix

2009-04-21 Thread Mark Sinnathamby
Hi, I am trying to display the disk space needed and disk space remaining for an application being installed in Wix. These details will be displayed in a custom dialog as labels. How do I obtain the disk space needed for the application and also the remaining disk space? Are there any properties

Re: [WiX-users] Cleaning up a messy InstallShield

2009-04-21 Thread Richard
In article <1240352013685-2672846.p...@n2.nabble.com>, lesterbangs writes: > In this case, is it ok to run this cleanup procedure as an immediate action? > What are the potential pitfalls of authoring the MSI in this way? Do I have > any other alternatives apart from manually requiring th

Re: [WiX-users] Cleaning up a messy InstallShield

2009-04-21 Thread Christopher Painter
First I'd like to say the former setup developer managed to voilate all that stuff. :-) I've seen Windows Installer setup developers do some violating also so it's not limited to InstallShield. :-) That said, yes, I've had to write many of these 'forced uninstall' utilities in my time. It c

[WiX-users] Cleaning up a messy InstallShield

2009-04-21 Thread lesterbangs
I am converting an installer written in InstallShield 12 (non-MSI based) to WiX. The InstallShield one manages to violate nearly every best practice, so even forcing the end-user to do a complete uninstall of it before running the MSI leaves the system in a potential mess. Some of the things I h

Re: [WiX-users] Using DTF to merge a merge module into an msi package

2009-04-21 Thread Richard
In article <139942f2536b7c4fbde6b44132f80c84286210a...@na-exmsg-c111.redmond.corp.microsoft.com>, Jason Ginchereau writes: > The real logic for merging merge modules is in mergemod.dll, which DTF > does n ot attempt to use or expose. So I would not recommend using DTF for > this purpos e,

Re: [WiX-users] Using DTF to merge a merge module into an msi package

2009-04-21 Thread Frank Neumann
Christopher, you perfectly described the situation: Using WiX is not an option because the MSIs/MSMs I have to deal with, are provided by a third party. In addition the merge action should be automated because it has to be done again when new releases are available. InstallShield would do the

Re: [WiX-users] Using DTF to merge a merge module into an msi package

2009-04-21 Thread Jason Ginchereau
Unfortunately it's not so easy. There are important differences between doing a simple database merge and a full merge-module merge. See http://msdn.microsoft.com/en-us/library/aa370081.aspx: The MsiDatabaseMerge function and the Merge

Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-21 Thread Brian Bakkebo
Thanks for the answer Brian. Yes, its very basic and ugly for some of our apps. I am working on that as well. What would be ideal is if you could just specify the .sln file and then heat "automagically" fetched all the structure plus reference dlls. That would be the dream..Perhaps version 4.0 o

[WiX-users] Troubleshooting ExecXmlFile?

2009-04-21 Thread David Reed
This is all that I'm getting back from the install log: - Action 17:14:39: ExecXmlFile. CustomAction ExecXmlFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 17:14:39: InstallFinalize. Return value 3. Action 17:14:39:

Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-21 Thread Brian Rogers
Hey Brian, Am I understanding you correctly when you say you have dependency .dlls listed in the project itself? If that is the case you could create a separate call to heat.exe to get those files as individuals. Unfortunately the only other way I know how to do this would be to use the -pog:Sourc

Re: [WiX-users] Using DTF to merge a merge module into an msi package

2009-04-21 Thread Christopher Painter
DTF is meant for creating build automation / installer authoring tools also. My guess is he has an MSI that wasn't built using WiX and he'd like to use DTF to merge a module (perhaps built using WiX, perhaps not ) into the database. DTF's Database class has a merge method to handle this. Yo

[WiX-users] Reference custom directory

2009-04-21 Thread dkijc
Hi everyone! I'm trying to to make a dialog with two options (radio buttons): 1. Fetch thumbnails from the WebServer 2. If not, I want the user to specify a directory where the thumbnails are stored in the disk so we can fetch it from that folder. - The machine usually has a default location

Re: [WiX-users] Using DTF to merge a merge module into an msi package

2009-04-21 Thread Pally Sandher
Why not use the Merge element & MergeRef element as they were intended? 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

[WiX-users] Using DTF to merge a merge module into an msi package

2009-04-21 Thread Frank Neumann
I consider using DTF to merge a merge module (msm) into an msi package. Would you recommend DTF for this purpose? Where can I find additional information (tutorial, examples) for it? Regards, Frank -- Stay on top of ev

[WiX-users] Use of INSTALLDIR as a property reference in ShellExecute

2009-04-21 Thread Riyaz Mogharabin
Dear all, I was using a customAction in the WiX 2 to open the readme file when the installation is finished. The code was: explorer Now, I'm modifying the Exit Dialog to show a Checkbox for "Show Readme On Exit". Note that I don't want to use the Optional CheckBox, because I don't like it's po

Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-21 Thread Brian Bakkebo
OK, Brian I am back again with a new question. Been Digging around the wix code. :) Now I have tried out Project harvester and the problem is I cannot get in all the dll's included with the project. Basically we have multiple projects in the solution. So I tried to use the "Satellites" ProjectOu

[WiX-users] How to update product version using a patch?

2009-04-21 Thread Ngoc Van Tran
Hi there, I was able to build the patch using WiX 3.0 described in Peter's post at: http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx I noticed that he did not change the product version. So I tried changing the product version (to "$(var.Version).0"). The change of version doesn'