Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Neil Sleightholm
I took at look at that and couldn't figure out how you could tell it was being called during and uninstall. I am sure I am missing something obvious! Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From: Jason

[WiX-users] Wix testing

2009-02-19 Thread sandun css
Hi, Is there a way that I can write some test code for wix testing ? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open

Re: [WiX-users] Log file generation

2009-02-19 Thread Hukumchand Shah
Hi, Thank you for the solution. But when I double click the .msi file then how to generate the log file. user will not run the installer by using msiexec coomand. He will just double click .msi file to run it. waiting for reply. Thanks Regards, Hukumchand Shah On Thu, Feb 19, 2009 at 1:10

Re: [WiX-users] DTF Embedded UI Problem

2009-02-19 Thread Oliver Wickham
Hi Christopher, I am glad you got the EmbeddedUI working. Thanks for coming back to me with advice on the issues I am experiencing with references to other DLLs. I did see the post build step in the WPF sample, and the embedded ui was working with that. I then moved the UI into our existing

Re: [WiX-users] Log file generation

2009-02-19 Thread Hukumchand Shah
Hi All, Does anyone know how to use MsiEnableLog function in wix to enable msi logging. Regards, Hukum On Thu, Feb 19, 2009 at 10:25 AM, Hukumchand Shah hukum.s...@gmail.comwrote: Hi All, Can anyone tell me, how to generate log file for my installation process. I want log file for whatever

[WiX-users] Writing WiX Tests

2009-02-19 Thread sandun css
Hi, In the Wix documentation I found something called 'smoke'. Please advice me what is that and how can I write my own tests to test the Wix code? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25,

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Christopher Painter
Neil- Take a look at this http://blog.deploymentengineering.com/2009/02/msi-tip-how-to-reuse-customaction-for.html Written just for you. :-) Chris Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention?

Re: [WiX-users] DTF Embedded UI Problem

2009-02-19 Thread Christopher Painter
I think you are right, when I moved it over to a C# CA project and built it I didn't see my exported functions until I removed the CustomActions.cs and rebuilt. This makes since since a dll with custom actions would most likely be targeted for being installed or put in the binary table and a

[WiX-users] make a large setup.exe to bind them

2009-02-19 Thread Black, Ty
Hi All, Is there a way to roll all the msi files that are generated from localization into a single file, I.E. Setup.exe? In addition to those msi files I would also like to roll up all the visual C++ redistributable and .net 3.5 to have 1 file that the user can download that contains everything

[WiX-users] question about upgrades and instance transforms

2009-02-19 Thread Amy Rosewater
Hi All, I am in the process of making the necessary changes to my installer to make it support a major upgrade. I have found several resources describing the creation of a major upgrade, and I think I understand at least for the default instance of my product, how to write the Wix required

[WiX-users] any pointers on the syntax i should one use to enable deployment of a gac dll required dll.config file, e.g. gac dll's that make use if setting designer/api runtime settings?

2009-02-19 Thread Robert O'Brien
Any pointers on the syntax i should one use to enable deployment of a gac dll required dll.config file, e.g. gac dll's that make use if setting designer/api runtime settings? I tried the following two options and the first, currently commented out, doesn't work because it doesn't drop the file

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Jason Ginchereau
Oh. To detect if the product is being uninstalled you need to check the REMOVE property: http://msdn.microsoft.com/en-us/library/aa371194.aspx. But of course you won't be able to access that from a CA running in deferred/rollback/commit mode. Typically, uninstall custom actions are

Re: [WiX-users] creating wix extensions

2009-02-19 Thread Bob Arnson
Sean Farrow wrote: Firstly, thanks for the pointers. How then do I fill a table using a custom action at runtime. It seems I can get away with doing this, and then have in installation query this table for the info I need via other ca's. If it's static data, it'll be much easier to create

Re: [WiX-users] WiX solution build error...

2009-02-19 Thread Bob Arnson
Neil Sleightholm wrote: I haven't been following this but just to warn you the latest SDK is in HKLM\\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1 - there are notes in the help file to show how to change NAnt to pick this up. V6.1 is the Server 2008 version of the SDK; V6.0A is the VS

[WiX-users] Passing Preprocessor Variable during build

2009-02-19 Thread Anu Dev
Hi I have a preprocessor WIX variable defined in the WIX project. When I use Team build to build the solution i get an error that the preprocessor variable is not defined. How can i pass the preprocessor variable as a paramter during while running the build script. Thank you Anu

Re: [WiX-users] Log file generation

2009-02-19 Thread Jeremy Farrell
http://www.letmegooglethatforyou.com/?q=msi+log+file -Original Message- From: Hukumchand Shah [mailto:hukum.s...@gmail.com] Sent: Thursday, February 19, 2009 9:18 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Log file generation Hi,

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Richard
In article 973239.86372...@web36601.mail.mud.yahoo.com, Christopher Painter chr...@deploymentengineering.com writes: [...] or use an imm eadiate CA to pass the REMOVE property to your deferred custom action and then evaluate it in your code. Seems kinda overkill to pass the value of REMOVE

Re: [WiX-users] What's wrong with this custom action?

2009-02-19 Thread Wilson, Phil
Custom action executables that return a non-zero exit code are treated as failing custom actions. If that exit code isn't an error, you'd have to set the custom action type to ignore errors. Phil Wilson -Original Message- From: Harrison Le [mailto:ha...@windows.microsoft.com] Sent:

Re: [WiX-users] WiX solution build error...

2009-02-19 Thread Neil Sleightholm
I have to disagree with that statement, if you search for the Vista SDK it also takes you to the 6.1 version (http://www.microsoft.com/downloads/details.aspx?familyid=ff6467e6-5bba- 4bf5-b562-9199be864d29displaylang=en). Unless I am mistaken the VS 2008 SDK and the Server 2008 SDK are two

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Christopher Painter
Allow me to put the text back in that you convienently removed in order to facilitate your snarky comment: `...gate your custom action with a condition of REMOVE=ALL` I often speak in many ways you could do things. I don't take such a narrow pedantic view that says there's only one way and if

[WiX-users] How to detect that a feature is already installed locally?

2009-02-19 Thread Joe Osman
I am using a condition to install a component only when a certain feature is installed and to uninstall this component if this feature is installed. The component is installed bur doesn't get removed on uninstall but I have no idea why it happens ad the verbose log shows that this feature is

[WiX-users] Dependency of third-part applications

2009-02-19 Thread Volnei dos Santos
Hello everybody, I'm trying to make my application's setup dependent upon a specific version of a third-part application, i.e., I want the user can't install my product if he/she has not already installed another software in which my application depends. I know in advance the Update Code of this

[WiX-users] Visual Studio Integration Question

2009-02-19 Thread Christopher Painter
I have a question about something but I don't know the terminology needed to do a google search. Does anyone know what it's called and how to configure the right click context menu items that appear on visual studio project items? For example, in a WCF Service Library project you can right

Re: [WiX-users] Dependency of third-part applications

2009-02-19 Thread John Cooper (Volt)
I think what you want to do could be done with a: 1) Launch condition dependent on a property; 2) The property is set based on a Registry Search, File Search, or Component Search. -- John M. Cooper -Original Message- From: Volnei dos Santos [mailto:vol...@gmail.com] Sent: Thursday,

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Richard
In article 888080.51646...@web36603.mail.mud.yahoo.com, Christopher Painter chr...@deploymentengineering.com writes: [...] in order to facilitate your snarky comment: Still no life, I see. For several years now, all you've done is respond to what I've posted here and in newsgroups with

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Neil Sleightholm
I have to admit to being confused! Looking at the built in WiX custom actions I see code like this in their wixlibs: CustomAction Id=InstallSqlData BinaryKey=ScaSchedule2 DllEntry=InstallSqlData Execute=immediate Return=check / CustomAction Id=UninstallSqlData BinaryKey=ScaSchedule2

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Bob Arnson
Neil Sleightholm wrote: Where is the detection or conditional calls in that? In most cases this seems to end up calling the same code but with a true/false code indicating install/uninstall. Some of them need to have very different -- or differently-timed -- behavior during install -v-

Re: [WiX-users] Dependency of third-part applications

2009-02-19 Thread Bob Arnson
Volnei dos Santos wrote: UpgradeVersion OnlyDetect='yes' Property='NOTFOUND' Minimum='$(var.ThirdPartAppVersion)' Maximum='$(var.ThirdPartAppVersion)' / Property Id=NOTFOUND Secure=yes / /Upgrade CustomAction Id='ThirdPartAppInvalid' Error='Third Part Application not found in the correct

Re: [WiX-users] WiX solution build error...

2009-02-19 Thread Bob Arnson
Neil Sleightholm wrote: I have to disagree with that statement, if you search for the Vista SDK it also takes you to the 6.1 version (http://www.microsoft.com/downloads/details.aspx?familyid=ff6467e6-5bba- 4bf5-b562-9199be864d29displaylang=en). Unless I am mistaken the VS 2008 SDK and the

Re: [WiX-users] How to detect that a feature is already installed locally?

2009-02-19 Thread Bob Arnson
Joe Osman wrote: I am using a condition to install a component only when a certain feature is installed and to uninstall this component if this feature is installed. See http://www.joyofsetup.com/2008/04/09/feature-states-in-component-conditions/. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] make a large setup.exe to bind them

2009-02-19 Thread Rob Mensching
More specifically, the feature you are looking for is usually found in a bootstrapper/chainer. The WiX toolset is lacking that. There are many others out there that you can use (the archive of wix-users has much discussion about them). We are adding a bootstrapper/chainer in WiX v3.5 (also

Re: [WiX-users] Dependency of third-part applications

2009-02-19 Thread Volnei dos Santos
Thank you for the replies! Let's see... -- Date: Thu, 19 Feb 2009 15:46:00 -0800 From: John Cooper (Volt) a-jc...@microsoft.com I think what you want to do could be done with a: 1) Launch condition dependent on a property; 2) The property is set based on a Registry Search, File

Re: [WiX-users] Visual Studio Integration Question

2009-02-19 Thread Martin MacPherson
Not sure myself but you could take a look at the source of something like the Power Commands stuff:http://code.msdn.microsoft.com/PowerCommands 2009/2/19 Christopher Painter chr...@deploymentengineering.com I have a question about something but I don't know the terminology needed to do a

[WiX-users] SILENT ISNTALLATION

2009-02-19 Thread MYFLEX
Hi, I want my installer to be silent installation. for that I want to pass the values to all the properties. I can want to give all the values in a text file and read them. But my doubt is when to shedule this custom action? before executing the msi msiexec /i /q aa.msi INSTALLDIR=

[WiX-users] Check SQLCE is installed or not Using WiX Componet Search

2009-02-19 Thread Prabhat Nath
Hello, How can I use the WiX component search (what GUID I Should look for) if I want to know if SQLCE is Installed? Also If a Registry search will be fast or a component search? Thanks, Prabhat Nath -- Open Source