Re: [WiX-users] How to best install generic system withcustomerspecific add-ins

2009-10-23 Thread Thomas Due
Fair enough, I'll try to explain the situation a little better, but Sascha's suggestion about shared fragments files makes absolute sense now that I think about it. It hadn't even crossed my mind. I would to be careful about how I shared them, so I would only have one actual copy of the

[WiX-users] How to write a Bootstrapper

2009-10-23 Thread Sunkesula, Srivardhan
Hi, I want to install MySql and Jboss along with my product. I have lot of queries on how to write a Bootstraper for this. I. Is this BootStraper is an XML Scripting or a VC++ program? 2. How to add the sequence of my msi installations? 3. I want to install these third party products

Re: [WiX-users] How to write a Bootstrapper

2009-10-23 Thread Sankha Biswas (Extended Results Inc)
Hi, I also have similar kind of requirement but little different. I want to first install OfficePia.exe as prerequisitre first and then want to resume my actual msi installation. Can anybody help us to provide an sample of how to take care of two separate installation a. Install

Re: [WiX-users] Using a CustomAction to modify a dialog

2009-10-23 Thread Blair
MSDN's overview is here: http://msdn.microsoft.com/library/aa368036.aspx A control can both publish (send out) and subscribe to (receive from others) events. However, not all controls can do both, and what they can do varies by control, by event, and by whether they are reporting or listening.

Re: [WiX-users] How to best install generic system withcustomerspecific add-ins

2009-10-23 Thread Blair
The difference between wixlibs and shared wix fragments is that the wixlibs are simply several shared compiled wix fragments joined into a single library file. That would ensure you don't have multiple copies of the sources, but would require that you compile them, either from their own projects

Re: [WiX-users] Upgrade and new install

2009-10-23 Thread Jiang, Chunyan (GE Healthcare)
Hi Rob, You are right. I have been in the pain for long time. But I have no charge of this CustomAction. I only know this CustomAction should be run only in the upgrade. And I have to make it work. :( I have modified the Registry element and give the condition to the custom as bellow:

Re: [WiX-users] How to change shortcut name?

2009-10-23 Thread Jiang, Chunyan (GE Healthcare)
Hi Sascha, Thanks for your tip. I thought about using wix variable to set the name. However, the version number will be changed for every build. And I don't know if there is a varialbe for product version, so that I can refer it, instead of using fix string. If I define the variable like:

Re: [WiX-users] How to write a Bootstrapper

2009-10-23 Thread Berger Michael
Hi maybe you should test the DotnetInstaller http://dotnetinstaller.codeplex.com/ Regards Michael -Ursprüngliche Nachricht- Von: Sankha Biswas (Extended Results Inc) [mailto:v-sab...@microsoft.com] Gesendet: Freitag, 23. Oktober 2009 09:59 An: General discussion for Windows Installer

[WiX-users] How to assign user a Full Trust Level during installation process

2009-10-23 Thread danimian
Hello, I need some help regarding to Full Trust Level. Our application only allows to start from the users with Full Trust Level. We want that Full Trust Level must assign to user (if he is not with Full Trust Level) during the installation. In this way we can avoid this security problem to start

Re: [WiX-users] (still) trying to install a PowerShell SnapIn using WiX

2009-10-23 Thread Heath Stewart
What command are you running to link your project (light.exe)? I see no notable differences between what you have and what I've had for a while that works for me ( http://psmsi.codeplex.com/SourceControl/changeset/view/28813#40647). On Tue, Oct 20, 2009 at 11:22 AM, Michael_A mcl...@fullarmor.com

Re: [WiX-users] How to write a Bootstrapper

2009-10-23 Thread Sunkesula, Srivardhan
Thank you, Michael. I'll start my research with this. Thanks Regards, Srivardhan. -Original Message- From: Berger Michael [mailto:m.ber...@palfinger.com] Sent: Friday, October 23, 2009 2:18 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to

Re: [WiX-users] Upgrade and new install

2009-10-23 Thread Jiang, Chunyan (GE Healthcare)
Hi Rob, I think over my scenario and clarify it that I want my App should be installed with the registry, which has the path information (PathA) in it. So that when install a higher version (version 2) in another path (PathB), even they have same UpgradeCode, the previous version (version1)

Re: [WiX-users] How to best install genericsystem withcustomerspecific add-ins

2009-10-23 Thread Thomas Due
Cool, that actually sounds like a clever plan. Thanks for the input. Best regards, Thomas Due -Original Message- From: Blair [mailto:os...@live.com] Sent: 23. oktober 2009 10:29 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] How to best install

Re: [WiX-users] How to write a Bootstrapper

2009-10-23 Thread Raj, Vijay
I also came across this WPF tool Client Profile Configuration Designer which was demonstrated at PDC2008. You could use this one as well. I loved this! - http://code.msdn.microsoft.com/cpcd Cheers' Vijay Raj MS-MVP [Setup-Deploy] Weblog: www.msigeek.comhttp://www.msigeek.com -Original

Re: [WiX-users] Build time Component.wxs generation...

2009-10-23 Thread Tony
Yeah, I guess we give up the ability patch. Though we've never done that before. Guess that's something for management to decide. We currently use the -gg option on one feature that would never be patched. Though, I guess, -ag would accomplish the same behavior since -gg generates new guids as

[WiX-users] CustomAction Session Database Error...

2009-10-23 Thread Dominique Louis
Hi all, I'm not sure if this is the best place for this question, so point me in the right direction if it is not. It's basically to do with running a CustomAction that returns a view from the Session Database using VBScript When I this function is called Function GetComboBoxView(oProperty)

Re: [WiX-users] Build time Component.wxs generation...

2009-10-23 Thread Brian Rogers
Hey Tony, The GUID generation for -ag doesn't actually occur until Bind time. So, there would be no output for you to check in. Take a look at the Binder.cs and SetComponentGuids(Output output) method for more details. Thanks, Brian Rogers Intelligence removes complexity. - Me

Re: [WiX-users] Build time Component.wxs generation...

2009-10-23 Thread Tony
The would be output to changed if files were added/removed, which is what I'm mostly concerned about. Web developer adds 5 more aspx pages and the next build's websitecomponents.wxs file will now be different than the previous version. But do I need a checked in copy of a build time generated

Re: [WiX-users] Questions on more advanced WiX Installer UI

2009-10-23 Thread Dan Giambalvo
Sascha, Thanks for the reply. Long term ( philosophically), I generally agree with you. I think the idea of doing as little as possible in the installer, and pushing it instead to a branded first-run experience inside the application has a lot of benefits. People don't like dealing with

[WiX-users] Property-RegistrySearch during uninstall

2009-10-23 Thread Tony
Is Property--RegistrySearch evaluated during uninstall as well? I'd like to set a property's value to a registry value during uninstall. IOW, I need to use a value found in the registry during uninstall. -- Tony --

Re: [WiX-users] Modify INSTALLDIR using custom action?

2009-10-23 Thread Hoang Le
Thanks Alex, I learnt from your blog that CA Type 35 scheduled after CostFinalize can be used to set MYDIR. However, the issue is that [INSTALLDIR] passed in by the parent project could be anywhere (user input), so I don't know it in advance. So it comes back to the question how I can walk up to

[WiX-users] Blocking install if property isn't set

2009-10-23 Thread Dan Giambalvo
Our installer has some UI which requests and validates a product key from the user during InstallUISequence. I want to add an additional checks so that if some clever user tries to silently install our msi to bypass the UI (and hence the validation UI) that they install will fail. I have a

[WiX-users] Translating from ancient to v3 WiX

2009-10-23 Thread John Cooper (Collabera)
I'm translating some v1 and v2 WiX files to v3 Wix, but I'm having trouble dealing with a CustomAction construct. In the old source I'll see: CustomAction Directory= VBScriptCall=SOME-VB-SCRIPT-INLINE Id=I_DO_SOME_VB_INLINE Now,

Re: [WiX-users] Using a CustomAction to modify a dialog

2009-10-23 Thread Dan Giambalvo
Thanks for the detailed response. I read over the MSDN overview 3 times, but it still wasn't really clicking for me. Unfortunately, the Windows Installer docs seem to discuss everything at the abstract level, but really lack in the way of real world examples. For example, figuring out what

Re: [WiX-users] How to change shortcut name?

2009-10-23 Thread Blair
How do you set produ...@version? -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Friday, October 23, 2009 1:42 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to change shortcut name? Hi Sascha,

[WiX-users] Why isn't my property evaluating??

2009-10-23 Thread Michael Bray
I'm trying to simulate the InstallURL property of a VS.net install MSI... I've got to the ponit where the WIX MSI will open a browser to the download page that I want it to go to. I thought things were going great because on my test machine, the web page opened when I didn't have the MSXML6

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-23 Thread little.forest
Hi Blair, As what I mentioned, since our old 2.0 product's uninstaller deletes settings but not remove the setting folder, there is a chance that the setting folder is empty. So we can't detect folder but have to detect *.* by writing a DLL. Anyways, I wrote a small dll and integrated it in

Re: [WiX-users] Translating from ancient to v3 WiX

2009-10-23 Thread Blair
Not sure, but could it possibly be this? CustomAction Id=I_DO_SOME_VB_INLINE Script=vbscript![CDATA[SOME-VB-SCRIPT-INLINE]]/CustomAction -Original Message- From: John Cooper (Collabera) [mailto:a-jc...@microsoft.com] Sent: Friday, October 23, 2009 12:56 PM To:

Re: [WiX-users] Build time Component.wxs generation...

2009-10-23 Thread Blair
With -ag, you don't necessarily need a checked in copy, although a reference copy in your build dump couldn't hurt. -gg is only recommended if you run heat just one time on the involved file and never ever run it again (you just maintain the authoring manually from then on). Even if you never

Re: [WiX-users] Property-RegistrySearch during uninstall

2009-10-23 Thread Blair
Yes, it is. -Original Message- From: Tony [mailto:yellowjacketl...@gmail.com] Sent: Friday, October 23, 2009 11:10 AM To: WiX Users Subject: [WiX-users] Property-RegistrySearch during uninstall Is Property--RegistrySearch evaluated during uninstall as well? I'd like to set a property's

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Blair
If you have a custom action that validates your property and returns failure if it doesn't validate, run that custom action as Execute=immediate and schedule it in both InstallUISequence AND InstallExecuteSequence (so it runs up to twice). Make sure that the property you check is a secure

Re: [WiX-users] Why isn't my property evaluating??

2009-10-23 Thread Blair
Add Secure=yes to your Property Id=MSXML6 element (Property Id=MSXML6 Secure=yes) AppSearch runs as if it were marked Execute=oncePerProcess, so once it runs in InstallUISequence, it won't run again in InstallExecuteSequence. Because MSXML6 isn't a secure property, it isn't always communicated

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Dan Giambalvo
If I make it public, can't someone just pass it in from the command line then? Doesn't that similarly defeat the purpose? -Original Message- From: Blair [mailto:os...@live.com] Sent: Friday, October 23, 2009 5:22 PM To: 'General discussion for Windows Installer XML toolset.' Subject:

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-23 Thread Blair
Did you try scheduling the custom action in both InstallUISequence as well as InstallExecuteSequence? -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Friday, October 23, 2009 5:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] Why isn't my property evaluating??

2009-10-23 Thread Michael Bray
Doesn't seem to help... It still doesn't detect the registry key correctly and the output text seems to indicate that the value is empty for both MSXML6 and TEST properties. -mdb -Original Message- From: Blair [mailto:os...@live.com] Sent: Friday, October 23, 2009 8:31 PM To: 'General

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-23 Thread little.forest
Aha, you're right. I didn't schedule the CA in InstallUISequence. Sorry. After add it in InstallUISequence, it seems working. Thanks and have a good weekend! /Brian From: Blair os...@live.com To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Blair
You still validate it and fail the install if it doesn't pass that validation. If someone runs the MSI silently your UI never runs anyway. The commandline is how they would pass what they would have typed into the UI. -Original Message- From: Dan Giambalvo [mailto:danie...@microsoft.com]

[WiX-users] Blog: UI Custom Action Guidelins (and one Workaround)

2009-10-23 Thread Richard
This blog post describes some guidelines for UI custom actions, including one workaround. The topics discussed have come up on this mailing list on more than one occasion. UI Custom Action Guidelines http://wp.me/pyVNs-gc Windows Installer provides a rich set of standard actions

[WiX-users] How do I add both a HKLM and a HKCU key to the registry?

2009-10-23 Thread Dave Kolb
database 4537 (20091023) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend

[WiX-users] Custom Action: MsiQueryProductState call failing

2009-10-23 Thread Craig Miller
This might be off topic, and if so could someone point me to a good resource for discussing the Msi WIN32 API? I have a custom action that is being called, but is failing. Does anyone know why the following would return an rc value of INSTALLSTATE_INVALIDARG? I'm passing in a GUID, so I'm not

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Dan Giambalvo
So he problem here is that the CustomAction cannot be allowed to run twice. It actually connects to a server, and decrements a server-side count. So, we only want to do that once per install. So, the way I see it, I have two options: 1) The UI Sequence runs the CA, and sets some *private*

Re: [WiX-users] Custom Action: MsiQueryProductState call failing

2009-10-23 Thread Rob Mensching
I think the GUID needs curly braces around it to be recognized by the Windows Installer. On Fri, Oct 23, 2009 at 7:33 PM, Craig Miller craig.mil...@spatialminds.com wrote: This might be off topic, and if so could someone point me to a good resource for discussing the Msi WIN32 API? I have

[WiX-users] Invitation from Akash!

2009-10-23 Thread Akash
Hi General discussion for Windows Installer XML tools, Windows 7 has landed. Don't miss out on your chance to get a copy at: http://www.Windows7Giveaway.com Regards, Akash, 911ak...@gmail.com -- Come build with us!

Re: [WiX-users] How do I add both a HKLM and a HKCU key to the registry?

2009-10-23 Thread Blair
of virus signature database 4537 (20091023) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer

Re: [WiX-users] Why isn't my property evaluating??

2009-10-23 Thread Michael Bray
Ah!! I figured it out... It's because the CustomAction was executing before AppSearch (because I had After=FindRelatedProducts)! Once I specified After=AppSearch it works great... -mdb -Original Message- From: Michael Bray Sent: Friday, October 23, 2009 8:41 PM To: General

[WiX-users] Can I set the Directory name attribute with a custom property value?

2009-10-23 Thread Dave Kolb
Should this work? I am getting the literal strings as the directory name. Is the directory name attribute not formattable? Where is it documented what is formatted or not as I have not been able to find that information. Thanks, Dave Property Id=MYCOMPANYNAME Value=49thLatitude / Property