Re: [WiX-users] WIX to install Services, but upgrade resets username/password

2007-10-10 Thread Jason Shay
I took the approach of no longer using the ServiceInstall tag to install the service. I'm using an evil custom action to call the installed service executable with a 'register' parameter when the feature is installed, and with 'unregister' when the feature is uninstalled. My desired "upgrades"

Re: [WiX-users] Newbie Q - changing TARGETDIR based on mode

2007-10-10 Thread Chris Ridd
On 10 Oct 2007, at 11:55, Anton Filippov wrote: > Hi. > > msiexec /i ...msi /quiet TARGETDIR=C:#Temp > ? Is that # meant to be a backslash? Cheers, Chris - This SF.net email is sponsored by: Splunk Inc. Still grepping thr

[WiX-users] Registry permissions are deleted on rollback

2007-10-10 Thread Brabec, Jan
Hi, I have a small problem during major upgrade with Registry/Permission element. I have created a very simple example replicating the problem, the sources are below. Steps to recreate: 1. In msi version 1 I create registry key and add some permission to it for "NetworkService" user. 2. In msi

Re: [WiX-users] Checking User Input and Writing it to a File

2007-10-10 Thread Bob Arnson
0x001A4 wrote: > This can be disregarded. The question I am now stuck on is checking for empty > values. For instance, in the example below, I got the password check to > work, but by default the text boxes are empty and are equal. It is not until > something is typed into the first password box th

Re: [WiX-users] Modifying parameters and sending them to a custom action on a button press

2007-10-10 Thread Bob Arnson
MatPdr wrote: > I think I figured out my error. I wasn't putting a 1 in the content of the > publish element. > See http://msdn2.microsoft.com/en-us/library/aa368037.aspx for details about control events. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Looking for docs on IIS metabase manipulation in WiX

2007-10-10 Thread Bob Arnson
Rory Clark wrote: Is there a source of WiX documentation for all of the fun things you can do to the IIS metabase? Just what's available in the WiX.chm schema doc. -- sig://boB http://joyofsetup.com/ - This SF.net email i

Re: [WiX-users] install/uninstall on/from custom location does not work on W2K3 but does on Vista

2007-10-10 Thread Bob Arnson
Rachna Khune wrote: I have run into an issue where in on W2K3 installing to a custom location does not work. That is, after choosing a custom folder, the install goes through but dumps the contents into the default Program Files folder. Similarly, while uninstalling on W2K3, the msi uninstal

Re: [WiX-users] Maintenance - Change weirdness

2007-10-10 Thread Bob Arnson
DexterSinister wrote: > Ok ... [scratching head & looking perplexed] ... if none of those properties > are being set via command line [since the installer is being invoked via the > Change button in Add/Remove Programs] ... is the installer engine scanning > the package to get feature names and the

[WiX-users] Looking for docs on IIS metabase manipulation in WiX

2007-10-10 Thread Rory Clark
Is there a source of WiX documentation for all of the fun things you can do to the IIS metabase? Specifically, I'm looking for docs or points or something that gives me a better idea of what I can do natively in WiX what I have to write a custom action to handle, such as detecting if a website exis

Re: [WiX-users] NGen and uninstalling

2007-10-10 Thread Peter Marcu
Sorry, no workarounds that I could see. From: Doug Payne Sent: Wednesday, October 10, 2007 11:50 AM To: Peter Marcu; wix-users@lists.sourceforge.net; Sumit Mehrotra Subject: RE: NGen and uninstalling Thanks, Peter. This is consistent with what I just discovered. I paused setup just after my cust

[WiX-users] install/uninstall on/from custom location does not work on W2K3 but does on Vista

2007-10-10 Thread Rachna Khune
Hi there I have run into an issue where in on W2K3 installing to a custom location does not work. That is, after choosing a custom folder, the install goes through but dumps the contents into the default Program Files folder. Similarly, while uninstalling on W2K3, the msi uninstalls but the bits

Re: [WiX-users] NGen and uninstalling

2007-10-10 Thread Doug Payne
Thanks, Peter. This is consistent with what I just discovered. I paused setup just after my custom action closed down all the running applications, then ran ngen manually on each asembly, in the same order as setup. 'NGen display ...' reported each assembly had been removed, but with one excepti

Re: [WiX-users] NGen and uninstalling

2007-10-10 Thread Peter Marcu
Ok, I followed up on this and having files left behind after uninstall when an managed app is using it is a known issue with ngen.exe itself. While the images still appear to be there, they will not be loaded so in effect they are deleted from the cache but the file still exists on disk. I know

Re: [WiX-users] Return Value of RegistrySearch

2007-10-10 Thread Wilson, Phil
You should be using the Upgrade table (the WiX upgrade element with OnlyDetect="Yes") to detect older versions. This will let you create properties specific to the versions on the system so you can create a property for a 1.0.7 version. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAI

Re: [WiX-users] NGen and uninstalling

2007-10-10 Thread Doug Payne
Thanks for your response, Peter, The images are not removed after reboot. I did notice one odd thing, though, after initial install and reboot, THE IMAGES (*.NI.* FILES) WERE IN THE Native Image folder, but ngen reported their status as pending, even though I specified Priority="0" for all the

Re: [WiX-users] QFE authoring after service pack release

2007-10-10 Thread Peter Marcu
The transforms in patches usually only apply to a single baseline. In your case, you chose your RTM as your baseline. A patch can carry multiple transforms but you will need to include both in the patch if you want your patch to apply to both scenarios. The other option is to carry the single t

Re: [WiX-users] NGen and uninstalling

2007-10-10 Thread Peter Marcu
Hi Doug, Can you verify for me whether or not the images are removed after a reboot? My suspicion is that because the file is in use, the OS cant remove it and schedules a "Pending File Rename Operation" on the file which will be executed on a reboot. If they are not removed on reboot, let me

Re: [WiX-users] QFE authoring after service pack release

2007-10-10 Thread Chad Petersen
I believe the last digit of the version is ignored. You might have better luck using 1.0.2020 instead. Just a hunch. Might be worth a try. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ning Lin Sent: Wednesday, October 10, 2007 9:16 AM To: wix-

Re: [WiX-users] Checking User Input and Writing it to a File

2007-10-10 Thread 0x001A4
This can be disregarded. The question I am now stuck on is checking for empty values. For instance, in the example below, I got the password check to work, but by default the text boxes are empty and are equal. It is not until something is typed into the first password box that the Next button bec

Re: [WiX-users] QFE authoring after service pack release

2007-10-10 Thread Ning Lin
Resend ... Appreciate any pointers! Thanks! Ning > Hello, > > So our scenario is this > 1) Product RTM'ed (say version 1.0.1000) > 2) We created and shipped a service pack 1 (say version 1.0.2000) > 3) Now we realize we need to ship a QFE (say version 1.0.2002) > > So we created a QFE patch

[WiX-users] How to launch a third party tool (e.g. adobereader.exe) during install?

2007-10-10 Thread hina1703
Hello, I am looking for a way to install third party tools during installation. Similar to LaunchAppandWait of InstallShield. How to accomplish it using WIX? Thanks, HINA -- View this message in context: http://www.nabble.com/How-to-launch-a-third-party-tool-%28e.g.-adobereader.exe%29-d

Re: [WiX-users] Missing Assembly after Majorupgrade

2007-10-10 Thread Chad Petersen
If the version of the GAC'ed file has not been incremented between versions then the information at this link is probably describing the situation. http://support.microsoft.com/kb/905238/en-us -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sven Heitmann

[WiX-users] Checking User Input and Writing it to a File

2007-10-10 Thread 0x001A4
I was wondering how one would go about checking user input and then writing it to a text file? This is what I have so far in my UserSetupDlg (I dont want the Next button enabled unless the password matches): [PASSWORD] = [CONFIRMPAS

[WiX-users] Missing Assembly after Majorupgrade

2007-10-10 Thread Sven Heitmann
Hi, I have created an MSI file wich contains a .NET application. The MSI is configured to always do a majorupgrade if an older version is beeing found. The uninstallation is working fine however after the new files are installed I often have the problem that the executable assembly is missing fr

[WiX-users] Return Value of RegistrySearch

2007-10-10 Thread V K Gangwar
Hello All, In following code what would be the value of OLDVERSIONFOPUND. Actually I want "data" value of version (Which is 1.07.3) in my case how I can get that. i have to take decision based on that value. regards, Veerendra - Boa

Re: [WiX-users] Newbie Q - changing TARGETDIR based on mode

2007-10-10 Thread Anton Filippov
Hi. msiexec /i ...msi /quiet TARGETDIR=C:#Temp ? On 10/10/07, Rad Ricka <[EMAIL PROTECTED]> wrote: > > Hello, > > sorry for asking a newbie question; but googling didn't help much. > > Could somebody please point me to an example that allows specific path for > TARGETDIR dir when running msiexec

Re: [WiX-users] Modifying parameters and sending them to a custom action on a button press

2007-10-10 Thread MatPdr
I think I figured out my error. I wasn't putting a 1 in the content of the publish element. the solution I came up with was to do the following 1 1 -- View this message in context: http://www.nabble.com/Modifying-parameters-and-sending-them-to-a-custom-action-on-a-button-press-tf4593717.html#a

[WiX-users] Newbie Q - changing TARGETDIR based on mode

2007-10-10 Thread Rad Ricka
Hello, sorry for asking a newbie question; but googling didn't help much. Could somebody please point me to an example that allows specific path for TARGETDIR dir when running msiexec with /quiet switch and offers a different default TARGETDIR path when run interactively? Many thanks, R.--

Re: [WiX-users] Modifying parameters and sending them to a custom action on a button press

2007-10-10 Thread MatPdr
Bob Arnson-6 wrote: > > That's the general model. What problem are you running into? > I want to be able to send the c++ function a dynamic property, as in: BROWSEPROPERTY holds the name of another property such as "MAINDIR" so when a button is pressed the following action sequence will occou

Re: [WiX-users] Remove section using XMLConfig

2007-10-10 Thread Stefan Pavlik
Please keep wix-users on the thread so everyone can participate. My solution is already mentioned in the thread BTW I am using Wix v2 (and have no experience with Wix v3) I found the solution: XML file: DirOne DirTwo To remove the line DirTwo you need to write th