Re: [WiX-users] Launching Web Page After Finish Dialog

2007-06-22 Thread Anthony Wieser
I've seen ShellExecute recommended as the way to do this, but what's wrong with doing it like this instead? explorer where $(var.SurveyURL) has been set to your http://www.example.com/pagetoshow.htm Anthony Wieser Wieser Software Ltd - Original Message - From: Bob Arnson To:

Re: [WiX-users] Hyperlink in condition messages

2007-06-22 Thread Bob Arnson
Jason J. W. Williams wrote: > I have a question about condition messages. Is it possible to put a > hyperlink to a redistributable component in a condition message? Not with the standard MSI UI; it doesn't support hyperlink controls. You can use a custom dialog with a button that publishes a cal

Re: [WiX-users] Example of running NGen on Assemblies in Wix 2.0

2007-06-22 Thread Bob Arnson
Doug Payne wrote: I have been asked to run NGen on some of the Assemblies in my setup package at install time. Can I use the element specified in the NetFX schema to do this? Yes. Would someone send me a short example of how to do this? I'm not even sure how to specify this schema in my

Re: [WiX-users] Installer Design

2007-06-22 Thread Bob Arnson
Pierson Lee (Volt) wrote: I can do the radio button but how do I tell the UI which feature to install? I haven't found anything in the tutorial beyond the Level flag in feature, but if I set the level high enough it will get the lower level one too. Is it to be done through conditions? Se

Re: [WiX-users] Reset button in CustomizeDlg doesn't reset Location Text

2007-06-22 Thread Bob Arnson
Ben Kaizi-Lutu wrote: The selectiontree choices are all reset but the Location being displayed for each feature is not restored to the original INSTALLDIR. Assuming that you're using WixUI, all it does is publish a Reset control event. The MSI SDK doc describes the limits: It undoes proper

Re: [WiX-users] Install config files based on language

2007-06-22 Thread Bob Arnson
Ward, Mike (MED US) wrote: > I get ICE30 errors which makes sense in hind sight. Any ideas on how I > can do this? > If you use component conditions instead of feature conditions, ICE30s turn into warnings instead. The real fix is to use some kind of MUI model where separate languages live in

Re: [WiX-users] install path parsing?

2007-06-22 Thread Bob Arnson
Steve Baker wrote: > That is probably what I will end up doing. The only reason i was > shooting for not hardcoding the versioned directory is because i > wanted the person installing to have the ability to choose a > completely different INSTALLDIR (without the version in it) if they so > choo

Re: [WiX-users] Module dependencies

2007-06-22 Thread Bob Arnson
Rory Clark wrote: On the target machine, the MSM witht he ModuleID of kenbase_1.0.0.0.49C6F91B_94B1_73FC_410E_8D1110FF1DC3 has not been installed, but the installation "completes successfully." Merge modules aren't installed independently. They can only be merged into an MSI product database.

Re: [WiX-users] (no subject)

2007-06-22 Thread Bob Arnson
Pierson Lee (Volt) wrote: Using the following code, the folder isn't removed on uninstall. Any reason why? Is it empty? MSI doesn't remove folders that have files. -- sig://boB http://joyofsetup.com/ - This SF.net ema

Re: [WiX-users] (no subject)

2007-06-22 Thread Bob Arnson
Roy Riegel wrote: When Application B's installer is loading MyRuntime.dll, it increments a ref. or "shared file" count for the dll; when Application A (or B) are uninstalled, the ref. count is decremented by 1, and MyRuntime.dll still persists in the eg: ..\System\Bin dir. When the OTHER a

Re: [WiX-users] msi to exe

2007-06-22 Thread Christopher Painter
It was clearly purposed for packaging IE, it always was. Now it also seems to have become repurposed as a generic basic solution. Now that it leaked into the OS it probably is fair game. Heck, I just read a TechNet article suggesting it's use for slipping things into a Sysprep postinstall via

Re: [WiX-users] Fwd: Changing PowerShell ExecutionPolicy via Registry or Powershell Cmdlet

2007-06-22 Thread John Vottero
> > I'm trying to decide whether to change the PowerShell ExecutionPolicy > setting either by modifying the registry entry or by running the > Set-ExecutionPolicy cmdlet in PowerShell. Has anyone any opinions on > which way is better/more proper? Thank you in advance. > Neither would be proper, y

[WiX-users] Hyperlink in condition messages

2007-06-22 Thread Jason J. W. Williams
Hello, I have a question about condition messages. Is it possible to put a hyperlink to a redistributable component in a condition message? I.e. The user doesn't have PowerShell installed, so you'd like the error message to provide a link to: http://go.microsoft.com/fwlink/?linkid=65813&clcid=0x40

[WiX-users] Fwd: Changing PowerShell ExecutionPolicy via Registry or Powershell Cmdlet

2007-06-22 Thread Jason J. W. Williams
Hello, I'm trying to decide whether to change the PowerShell ExecutionPolicy setting either by modifying the registry entry or by running the Set-ExecutionPolicy cmdlet in PowerShell. Has anyone any opinions on which way is better/more proper? Thank you in advance. Best Regards, Jason --

Re: [WiX-users] msi to exe

2007-06-22 Thread John Vottero
What says it's for packaging IE not other apps? From: Christopher Painter [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 8:24 PM To: John Vottero; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] msi to exe Yes but it still says it's for packaging IE not other apps. I don't

[WiX-users] Example of running NGen on Assemblies in Wix 2.0

2007-06-22 Thread Doug Payne
I have been asked to run NGen on some of the Assemblies in my setup package at install time. Can I use the element specified in the NetFX schema to do this? Would someone send me a short example of how to do this? I'm not even sure how to specify this schema in my source file. Also, I don't know

Re: [WiX-users] msi to exe

2007-06-22 Thread Christopher Painter
Yes but it still says it's for packaging IE not other apps. I don't know how to touch this one to tell you the truth. John Vottero <[EMAIL PROTECTED]> wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:

Re: [WiX-users] Reset button in CustomizeDlg doesn't reset Location Text

2007-06-22 Thread Ben Kaizi-Lutu
From: Ben Kaizi-Lutu Sent: Friday, June 22, 2007 4:00 PM To: Windows Installer XML; Windows Installer Xml Virtual Team Subject: Reset button in CustomizeDlg doesn't reset Location Text Hi, I have been struggling to fix an issue and I am finally giving up and looking for help. Here is the repro:

Re: [WiX-users] msi to exe

2007-06-22 Thread John Vottero
It looks like IExpress is now part of the OS. This is from the IEBlog (http://blogs.msdn.com/ie/archive/2006/07/21/671586.aspx): # re: is iexpress.exe available in IEAK7? re: IEAK 7 Beta 3 is now available Thursday, July 27

Re: [WiX-users] launch default browser

2007-06-22 Thread Charles Wan-Calo
Thank you all! Both cmd and start work. As far as WiX 3.0, I have postpone the upgrade until it becomes "stable" or unless I absolutely have to, as we are in the middle of a major release. But, thank you, Bob. I'll keep that tip in mind. Charles

[WiX-users] Directory permissions and inheritance

2007-06-22 Thread asquithea
Greetings. This is a longish query; please bear with me. Thanks... As part of an installer under development, I create a directory tree secured at the root by a restrictive ACL. Here's an example structure: - C:\ - "storage" - "A" - "B" - "C" So the ACL applied to "storage" is inh

Re: [WiX-users] msi to exe

2007-06-22 Thread Christopher Painter
Google as alot of hits with \IEAK\ and dllhelp is too slow ( and often too inaccurate ) for me to confirm right now. I might not have the right EULA, but it seems pretty straightforward that this EXE isn't going to translate to something that's part of an SDK redist. I'd love to be corrected.

Re: [WiX-users] msi to exe

2007-06-22 Thread John Vottero
I have never installed the "Internet Explorer 7 Administration Kit" and yet, I have IExpress.exe. Why do you think that license covers IExpress? From: Christopher Painter [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 5:31 PM To: Christopher Painter; John Vottero; Afshin Sepehri; wix-u

Re: [WiX-users] msi to exe

2007-06-22 Thread John Vottero
You don't redistribute iexpress.exe, you redistribute the output of iexpress.exe. I still don't know if that's legal. From: Christopher Painter [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 5:28 PM To: John Vottero; Afshin Sepehri; wix-users@lists.sourceforge.net Subject: Re: [WiX-u

Re: [WiX-users] msi to exe

2007-06-22 Thread Christopher Painter
I'm reading this page: http://www.microsoft.com/technet/prodtechnol/ie/ieak7/eula.mspx And I don't see any rights to use iexpress in the way that I read it being described here. Christopher Painter <[EMAIL PROTECTED]> wrote: Is this legal? Does Micrososft convey redist rights to

Re: [WiX-users] msi to exe

2007-06-22 Thread Christopher Painter
Is this legal? Does Micrososft convey redist rights to reuse this as a generic bootstrapper? John Vottero <[EMAIL PROTECTED]> wrote: We use IExpress as part of an automated daily build. Do “iexpress.exe /?” to see the command line switches. From: Afshin Sepehri

Re: [WiX-users] Set Property2 if Property1 is set...

2007-06-22 Thread Robert.Priest
Rob, That works. Thanks. So to toggle the value, I did the what you see below. I tried just setting default property values for it, but that didn't work. Should it have? Just curious. I don't have any major problems with the method I used. And scheduled like so: Property1 NOT Property1

Re: [WiX-users] msi to exe

2007-06-22 Thread John Vottero
We use IExpress as part of an automated daily build. Do "iexpress.exe /?" to see the command line switches. From: Afshin Sepehri [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 5:06 PM To: John Vottero; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] msi to exe I need this

Re: [WiX-users] msi to exe

2007-06-22 Thread Don Tasanasanta
We incorporated iexpress into our automated nightly build process. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Afshin Sepehri Sent: Friday, June 22, 2007 2:06 PM To: John Vottero; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] msi

Re: [WiX-users] msi to exe

2007-06-22 Thread Afshin Sepehri
I need this to be done as part of an automatic daily build process which also creates the .msi file. I am not sure if IExpress can be used for this purpose. Any alternative? Afshin From: John Vottero [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 1:56 PM To: Afshin Sepehri; wix-users@li

Re: [WiX-users] msi to exe

2007-06-22 Thread John Vottero
Use IExpress.exe. You probably already have it (it's part of IE). From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Afshin Sepehri Sent: Friday, June 22, 2007 4:53 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] msi to exe Hi, How can I convert an .msi file to

Re: [WiX-users] msi to exe

2007-06-22 Thread Peterson, Joel
It needs something called a "bootstrapper" wrapped around it. Joel Peterson Quality Engineer [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Afshin Sepehri Sent: Friday, June 22, 2007 1:53 PM To: wix-users@lists.sourceforge.net

[WiX-users] msi to exe

2007-06-22 Thread Afshin Sepehri
Hi, How can I convert an .msi file to .exe? Afshin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it

Re: [WiX-users] Installer Design

2007-06-22 Thread Mike Dimmick
You could presumably use a pair of radio buttons to change the feature state rather than using a feature-selection tree dialog. I believe this was discussed recently regarding the use of checkboxes (like Office 2003) to control feature selection. The user would still be able to control the feat

Re: [WiX-users] Installer Design

2007-06-22 Thread Pierson Lee (Volt)
It's a dependency on whether you are on the SQL server or the website UI, but the PM wanted one installer to do both. I can do the radio button but how do I tell the UI which feature to install? I haven't found anything in the tutorial beyond the Level flag in feature, but if I set the level h

Re: [WiX-users] Module dependencies

2007-06-22 Thread Mike Dimmick
As far as I know, the ModuleDependencies table is only checked by validation. I don't think the Windows Installer runtime itself checks. -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark Sent: 22 June 2007 20:40 To: wix-users@lists.source

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-06-22 Thread Mike Dimmick
InstallSqlData does have a condition: NOT SKIPINSTALLSQLDATA. You could set that if there's no need for it to run, based on your feature/component selection states. If it does run but doesn't need to actually do anything (no components containing SQL elements were selected for installation) it

[WiX-users] Module dependencies

2007-06-22 Thread Rory Clark
I have a merge module that has a dependency element defined: When the module is merged into an MSI, I have an entry in the module dependency: ModuleID: kenbase_1.0.0.0.49C6F91B_94B1_73FC_410E_8D1110FF1DC3 ModuleLanguange: 0 RequiredID: unittest_1.0.0.0.07C25BE8_

Re: [WiX-users] Installer Design

2007-06-22 Thread Pierson Lee (Volt)
That would be good if I wanted the user to choose which feature to install. What I'm trying to do is install two mutually exclusive features. So if they choose to install one, it won't install the other. Is that possible? From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007

Re: [WiX-users] (no subject)

2007-06-22 Thread Pierson Lee (Volt)
I think you are talking about "shared" in the sense that your applications shared usage of a DLL. I'm talking about sharing folders in the sense of a network share access to a folder (two different things). I have no idea on your item L From: Roy Riegel [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: [WiX-users] (no subject)

2007-06-22 Thread Roy Riegel
Thanks for your quick response. My use of a "shared file" used to be done with a reference count type mechanism in IS 11.5 where let's say Application A installs MyRuntime.dll with one set of data; Application B ALSO installs an IDENTICAL MyRuntime.dll with different data than Application A.

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-06-22 Thread Wilson, Phil
At the risk of stating the obvious, conditions on custom actions are separate from feature selection, so the unstated assumption here is that your custom action condition is associated with the feature disposition. Phil Wilson From: [EMAIL PROTECTED] [mailto:[E

Re: [WiX-users] (no subject)

2007-06-22 Thread Pierson Lee (Volt)
Well, the code is from the stock wxs file. I'm just sharing the folder (not files are going in) to create a share for files for the website that I create earlier in the file. (btw, this isn't the whole file). The folder itself doesn't contain anything by default. My issue is that the remove fold

[WiX-users] (no subject)

2007-06-22 Thread Pierson Lee (Volt)
Using the following code, the folder isn't removed on uninstall. Any reason why? Could it be because the folder is shared? If so, how do I remove a folder share on uninstall. Thanks: --pierson

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-06-22 Thread Don Tasanasanta
I do have a feature in my install which run's SQL scripts but I'm getting this error even when that feature is not selected. That could explain why InstallSqlData is being called. So given that... is there a problem with InstallSqlData being called when the feature containing the sql data isn'

Re: [WiX-users] install path parsing?

2007-06-22 Thread Steve Baker
That is probably what I will end up doing. The only reason i was shooting for not hardcoding the versioned directory is because i wanted the person installing to have the ability to choose a completely different INSTALLDIR (without the version in it) if they so choose. It isn't very important f

Re: [WiX-users] Shortcut Tag & Powershell Script

2007-06-22 Thread Jason J. W. Williams
Hi Rob, Thank you very much! I very much appreciate your help. I'll go find out how to populate POWERSHELLEXE. Best Regards, Jason On 6/22/07, Rob Mensching <[EMAIL PROTECTED]> wrote: > If you nest the Shortcut under the File element that is what the Shortcut is > going to point at. If you wan

Re: [WiX-users] Launching Web Page After Finish Dialog

2007-06-22 Thread Bob Arnson
If you're using WiX v3, see "ShellExecute CustomAction" in WiX.chm. It contains a sample showing how to use the WixShellExec custom action to do just that. If you're using WiX v2, you either need to do a custom UI or you can try scheduling your CA in InstallUISequence after ExecuteAction. I'm n

[WiX-users] Launching Web Page After Finish Dialog

2007-06-22 Thread Steve Bush
Ideally, I would like to launch a web page when the user hits the Finish button on the last dialog. The code below works but the web page is launched after InstallFinalize instead of when the user clicks the Finish button. Also, I want to only show the web page if we're not doing a silent inst

Re: [WiX-users] Remove trailing slash from path

2007-06-22 Thread BhaveshG
Yes, that will be great. You can either send me the code or link to the CA. Thanks Bhavesh DEÁK JAHN, Gábor-2 wrote: > > On Thu, 21 Jun 2007 13:00:30 -0700 (PDT), BhaveshG wrote: > > Bhavesh, > >> Nope, that does not work. The issue here is that the user selects a >> network path and ever

[WiX-users] Install config files based on language

2007-06-22 Thread Ward, Mike (MED US)
I'm trying to install different prebuilt exe.config files based on a language selection (not the best design but that's what I've been handed). I tried the following

[WiX-users] feature problem

2007-06-22 Thread volkmar
Introduction: For a complete uninstall i have, 2 different ways. First one works fine and is just a normal uninstall with some CAs. But the second one is a little bit tricky, because it consists of 2 parts. I have to do some CAs, make one registry entry (Set a value in "HKCU\Software\Microsoft\Wi

Re: [WiX-users] Sharing features across applications

2007-06-22 Thread Bob Arnson
Lars Jessen wrote: > However the resulting installation does not install "Feature1" unless I > add the property > Absent="disallow" to the feature properties. What's the reason for this? > I'm not sure which feature you're referring to but you might want to reverse your logic: Rather than enab

Re: [WiX-users] Calling a .bat file from WIX

2007-06-22 Thread Alperstein, Kenny
The GACing advice worked. Thank you. The one thing I did have to do was to create a Component element for each assembly I wanted to GAC. I also had to set KeyPath="yes" on my File element as well. Thanks so much for you help. Kenny Alperstein Framework Architect Protection Architecture

[WiX-users] Sharing features across applications

2007-06-22 Thread Lars Jessen
Hi. I have 2 applications (A and B) that both shared the same feature (X). I want the user to be able to decide where X is placed, X, however, may only exist at one location. I figure I would go for the following approach: Feature X should have the "ConfigurableDirectory" property if, and only

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-22 Thread carlH
C:\Program Files\Folder\uninst.exe Installed AND REMOVE="ALL" The NSIS installer creates it's own uninstaller as part of the installation process. I'm happy with this part of the process. I've searched for solutions for using a custom action

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-22 Thread Rob Mensching
Both are possible. The Exec should be able to launch the file from a Binary stream and you can schedule a CustomAction your CustomAction to delete registry keys. What are you going to do with uninstall? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of c

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-22 Thread carlH
This might help explain a bit more C:\Program Files\Folder\NSISinstaller.exe NOT Installed This works fine, the first thing that happens is the

Re: [WiX-users] [wix-users] Install Certificates to any store? Needed for signed Powershell Scripts

2007-06-22 Thread Rob Mensching
You're right, it doesn't look like the CustomAction supports installing to the TrustedPublishers store. Seems like a very reasonable feature request. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mailinglist Sent: Friday, June 22, 2007 12:07 AM To: wix-users@lists.sourceforge.ne

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-22 Thread Rob Mensching
If you launch your "Trojan horse" package early enough you may be able to use the RemoveRegistry standard actions to remove the registry keys, but you'll end up with the MSI installed... and I'm not sure that's what you're looking for. After that, CustomActions are just code. You can do just ab

Re: [WiX-users] launch default browser

2007-06-22 Thread Schrieken, Rene
Or: start path\readme.html (but I'm not sure if start is available on win2k) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent B. Powers Sent: Thursday, June 21, 2007 10:32 PM To: Charles Wan-Calo Cc: wix-users@lists.sourceforge.net Subject: Re: [Wi

Re: [WiX-users] Deleteing a registry entry at the end of the install

2007-06-22 Thread carlH
It certainly isn't my preferred method either:) So back to the original question, is what I'm trying to achieve possible? -- View this message in context: http://www.nabble.com/Deleteing-a-registry-entry-at-the-end-of-the-install-tf3952329.html#a11247918 Sent from the wix-users mailing list arch

Re: [WiX-users] Shortcut Tag & Powershell Script

2007-06-22 Thread Rob Mensching
If you nest the Shortcut under the File element that is what the Shortcut is going to point at. If you want to point the Shortcut at something else, you use the Target attribute (and you can't nest the Shortcut at that point). Ultimately, you want something like: "[POWERSHELLEXE] -Comm

[WiX-users] [wix-users] Install Certificates to any store? Needed for signed Powershell Scripts

2007-06-22 Thread Mailinglist
Hi wix-users, We need the ability to store a certificate CA to the "root" store of the local machine, and a certificate to the "TrustedPublishers" store of the local machine. Those files are needed for our Powershell files, which are not loaded otherwise. Until now, with WiX-3.0.3015.0 I only