[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 Busin

[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= MYPROPERTY

[WiX-users] rouble registering .NET assembly from GAC into COM+

2009-02-19 Thread Don Benson
I am trying to generate a COM+ App that includes a .NET DLL that is installed in the GAC. I am able to get the following project sample to successfully install on Windows 2000 with .NET 2.0. This sample does not put the COM+ DLL in the GAC, but it does put a dependency (CSLA) in the GAC. http:

Re: [WiX-users] Property value appears blank in SQL statement

2009-02-19 Thread Michael Osmond
Joe, Do you have a Property definition that sets KMFPRODUCTUPGRADE to be Secure. If its not Secure it is not passed to the Execution phase. See SecureCustomProperties Property in the SDK Michael -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Friday, 20 Febru

[WiX-users] Property value appears blank in SQL statement

2009-02-19 Thread Joe Osman
I am setting a property value during a product upgrade. In the install I want to use the value of this property in a SQL statement which is in SqlString element, but I get an empty value. I looked at the verbose log and although the property is set to a correct value it appears as blank in the

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 > I have a question about something but I don't know the terminology needed > to do a google search. > > Does anyone know

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)" > > 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 > Co

Re: [WiX-users] What keeps borking my ICE validation by registering VBScript and JScript under HKCU?

2009-02-19 Thread Rob Mensching
Wow, new bad guy. See, lots of bad guys out there. SelfReg constantly? Seriously, geez. Moradi, Ari wrote: > I found the exact same problem and (after a lot of investigating) found that > on my machine, it was PSPad causing the problems. Every time I launched > PSPad (ran the app, not inst

Re: [WiX-users] IUSR_XXXX and IWAM_XXXX

2009-02-19 Thread Rob Mensching
Unfortunately, have to write a CustomAction for that. Not sure I'd put that *inside* my install if it doesn't happen often... MacDiarmid, James D wrote: > Is there a way to check the IUSR_ and IWAM_ users and make sure > they are not in the guest group? > > Thanks, > Jim > > > >

Re: [WiX-users] Wix-warning

2009-02-19 Thread Rob Mensching
Let me try to reinterpret that message. "Your File element with Id='MyFileId' points to a file that has a version but does not have a language. ICE60 gets upset when you have such a situation. Why doesn't your versioned file have a language specified in the resource?" sandun css wrote: > Hi, >

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 d

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] 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-9199be864d29&displaylang=en). Unless I am mistaken the VS 2008 > SDK and th

Re: [WiX-users] Sequence attribute in SqlScript - parallel execution

2009-02-19 Thread Bob Arnson
Anupama A wrote: > Does the Sequence attribute in SQLScript element work? > Yes but it determines order, not concurrency. Running multiple scripts in parallel isn't supported. -- sig://boB http://joyofsetup.com/ -

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

2009-02-19 Thread Bob Arnson
Volnei dos Santos wrote: >Minimum='$(var.ThirdPartAppVersion)' Maximum='$(var.ThirdPartAppVersion)' /> > > > > >After='FindRelatedProducts'>NOTFOUND > I think you have your logic reversed: You want the error message to be shown if the property *isn't* set (meaning the other produ

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] DTF - install, rollback and uninstall

2009-02-19 Thread Bob Arnson
And here's a convenient point to remind everyone that this is the wix-users mailing list, to discuss WiX, not to engage in urination contests. So kindly refrain from doing so and make our list enjoyable and urine-free. Thank you for your cooperation. Bob, assistant [to the] benevolent dictator

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

2009-02-19 Thread Christopher Painter
> But hey, instead of getting to the meat of the matter, its > much better > to focus everyone's attention on my snarkiness. Well at least you are admitting your snarkiness. That's a good start. Perhaps we wouldn't be having this argument if you were to first write what you said above instead

[WiX-users] Sequence attribute in SqlScript - parallel execution

2009-02-19 Thread Anupama A
Does the Sequence attribute in SQLScript element work? I have a component with multiple SQLScript elements .. something like this /> Since the Sequence value is 1 on both these elements, I would expect them to run in parallel. But this doesnt seem to be happening. How ca

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

2009-02-19 Thread Richard
In article , "Neil Sleightholm" writes: > I have to admit to being confused! Looking at the built in WiX custom > actions I see code like this in their wixlibs: > > DllEntry="InstallSqlData" Execute="immediate" Return="check" /> ^^ > DllEntry="UninstallSqlData" Ex

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: NOT SKIPUNINSTALLSQLDATA AND VersionNT > 400 NOT SKIPINSTALLSQLDATA AND VersionNT > 400 Where is the detection or conditional calls in that? In most cases this seems to end up

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

2009-02-19 Thread Richard
In article <888080.51646...@web36603.mail.mud.yahoo.com>, Christopher Painter 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 snarky comments. Wouldn't it be

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, F

[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 cli

[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 a

[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 in

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

Re: [WiX-users] Launch Conditions

2009-02-19 Thread Colin Fox
Thanks, Alex! I've long wondered about the CDATA thing. On Wed, Feb 18, 2009 at 11:18 AM, Alexander Shevchuk < alexander.shevc...@microsoft.com> wrote: > Hi Colin, > > It is: > > > > > > > XXX > > > NOT: > > > > > > > YYY > > > Also, you want Property's Id to be in all uppercase. >

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-9199be864d29&displaylang=en). Unless I am mistaken the VS 2008 SDK and the Server 2008 SDK are two differen

Re: [WiX-users] Writing WiX Tests

2009-02-19 Thread Richard
In article <10c8a1370902190329x43db8246hfd9b86d11a8a5...@mail.gmail.com>, sandun css writes: > 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? Are you trying to write an ICE to unit test the b

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: W

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

2009-02-19 Thread Richard
In article <973239.86372...@web36601.mail.mud.yahoo.com>, Christopher Painter 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 in via the custom action dat

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, >

[WiX-users] IUSR_XXXX and IWAM_XXXX

2009-02-19 Thread MacDiarmid, James D
Is there a way to check the IUSR_ and IWAM_ users and make sure they are not in the guest group? Thanks, Jim -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the b

[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] Install to removable device

2009-02-19 Thread Bob Arnson
kibnet wrote: > I'd like to install my application to any removable device. This application > should be installed to different flash drives on one computer and user could > launch application at any other machine. Can wix help me to do this? No, MSI doesn't support that. -- sig://boB http://joy

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

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 cr

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

2009-02-19 Thread Bob Arnson
Jason Ginchereau wrote: > Typically, uninstall custom actions are conditionally scheduled in the > sequence table using the REMOVE=ALL condition, so the CA would not need to > check for uninstall mode via an API. > A small typo: Custom actions should be checking the install and action states

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 conditional

[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] make a large setup.exe to bind them

2009-02-19 Thread Arun Perregatturv
Sorry you are out of luck. I wanted to have the same but IMHO Wix does not support such a feature. If they do I will be happy try it. Arun Perregattur -Original Message- From: Black, Ty [mailto:ty.bl...@fluke.com] Sent: Thursday, February 19, 2009 9:16 AM To: General discussion for Windo

[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] Wix-warning

2009-02-19 Thread sandun css
Hi, I get the following warning when I build my msi package. warning SMOK1076 : ICE60: The file 'MyFileId' is not a Font, and its version is not a companion file reference. It should have a language specified in the Language column. That file is a dll. Please advice me why this warning occur an

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 d

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

2009-02-19 Thread Christopher Painter
Either gate your custom action with a condition of REMOVE="ALL" or use an immeadiate CA to pass the REMOVE property to your deferred custom action and then evaluate it in your code. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thr

Re: [WiX-users] Writing WiX Tests

2009-02-19 Thread Christopher Painter
Checkout: http://blog.deploymentengineering.com/2009/02/msi-tip-authoring-ice-using-c-dtf.html Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Thu, 2/19/09, sandun css wrote: > Fr

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?

[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, 20

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 wrote: > Hi All, > > Can anyone tell me, how to generate log file for my installation process. > I want log file for whatever installer does d

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 custom

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 P

[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 Sour

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 From: Jason Ginche