Re: [WiX-users] FileSearch on INSTALLLOCATION, whereas INSTALLLOCATION is either registry entry or nested Directory tag

2010-04-29 Thread Viv Coco
solution of each of the various > properties. > > -----Original Message- > From: Viv coco [mailto:vcotirl...@hotmail.com] > Sent: Friday, March 26, 2010 2:18 AM > To: WiX > Subject: [WiX-users] FileSearch on INSTALLLOCATION, whereas INSTALLLOCATION > is either registry entry or nes

Re: [WiX-users] RemoveExistingProducts after InstallInitialize -> kb 905238

2010-04-29 Thread Viv Coco
Thx Blair, then I'll move the RemoveExistingProducts later in the sequence. Viv On 4/28/2010 6:32 PM, Blair wrote: > It happened exactly that way to us. The C++ merge modules seemed to require > the late registration. > > -Original Message- > From: Viv Coco [mailto:vc

Re: [WiX-users] Checking for Self install

2010-04-22 Thread Viv Coco
> I am attempting to determine if a specific version of a product is already > installed on the system. I basically want to do this to disallow/bail out of > an install if the MSI that is being executed is already installed on the > system. 1) If you run the same msi again you enter the maint

Re: [WiX-users] Uninstall problems

2010-04-14 Thread Viv Coco
I got into this problem once when I did the following: 1) Create MyInstaller.msi Version X.X.X 2) Use this installer to install my product 3) Create again the MyInstaller.msi Version X.X.X, meaning a new rebuild of the msi but with the same version and different Product GUID and Package GUID as i

Re: [WiX-users] correct upgrade table

2010-04-13 Thread Viv Coco
ically with every build, how else would you differentiate from > the "old" v1.1.1 and the "new" v1.1.1 ?? > > > On Mon, Apr 12, 2010 at 6:02 PM, Viv Coco wrote: > >> Hi Sascha, >> >> Thank you for your answer. >> I understood your su

Re: [WiX-users] Remove the license page

2010-04-12 Thread Viv Coco
nce Park, > Glasgow G20 0SP > Email Disclaimer > > -Original Message- > From: Viv Coco [mailto:vcotirl...@hotmail.com] > Sent: 12 April 2010 08:36 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Remove the license page > > Hi all

Re: [WiX-users] correct upgrade table

2010-04-12 Thread Viv Coco
After="FindRelatedProducts"> > > > > >After="FindRelatedProducts"> > > >After="FindRelatedProduct

[WiX-users] Remove the license page

2010-04-12 Thread Viv Coco
Hi all, I am using the UI InstallDir in the installer of my product: [code] [/code] For some specific reason we need to get out the license page, so we need to skip the step where the license is shown to the user. Is there any way to do that? TIA, Viv -

[WiX-users] correct upgrade table

2010-04-09 Thread Viv Coco
Hi all, I am interested in doing only major upgrades in my installer, this is why I have in the code for Product and Package the Id="*": [code] [/code] It might happen that we freeze internally the release 2.2.0, I build a package, give it to the QA they do tests, find bugs and those bugs a

Re: [WiX-users] Run the CA only on the first install (no upgrades)

2010-04-09 Thread Viv Coco
NOT UPGRADINGPRODUCTCODE] > > I think you probably want to use some variation on the following > (depending on what your upgrade table looks like) to run something on > the first install only. > > NOT (Installed Or OLDERVERSIONBEINGUPGRADED) > > > > Sascha > > >

[WiX-users] Run the CA only on the first install (no upgrades)

2010-04-08 Thread Viv Coco
Hi all, I would like to run a CA only on the first install. The CA shouldn't be run on an upgrade. The condition i used is: (NOT Installed) AND (NOT UPGRADINGPRODUCTCODE) but it's not working, as the CA is still run on upgrade also. I found the nice and detailed answer from Blair here: http://ww

Re: [WiX-users] First run notepad with my.cfg and only then start the service

2010-04-07 Thread Viv Coco
e the config file. When the install runs silently these > properties can be set on the msiexec command line. > > Phil Wilson > > -Original Message- > From: Viv Coco [mailto:vcotirl...@hotmail.com] > Sent: Tuesday, April 06, 2010 1:29 AM > To: General discussion

Re: [WiX-users] First run notepad with my.cfg and only then start the service

2010-04-06 Thread Viv Coco
I actually thought about doing it like this: [code] Notepad.exe (NOT Installed) AND (NOT UPGRADINGPRODUCTCODE) [/code] This seems to be doing the job. Is this not correct? Thx, Viv On 4/3/2010 3:20 PM, Bob Arnson wrote: > On 4/1/2010 9:28 AM, Viv Coco wrote: > >> shown to

Re: [WiX-users] Conditions for Uninstall/Remove Only

2010-04-06 Thread Viv Coco
Hi, Yes, I used that too, but, at least in my case, the quotes didn't work, so I had to use it like this: (NOT UPGRADINGPRODUCTCODE) AND (REMOVE=ALL) Viv On 4/1/2010 9:49 PM, little.forest wrote: > Thanks Sanjay. > > > This is great. Especially there is a table - much clearer. > > > >

[WiX-users] First run notepad with my.cfg and only then start the service

2010-04-01 Thread Viv Coco
Hi all, I install along with my application: 1) a service that starts and stops my application as needed 2) a conf file that contains actually the user data and that will be shown to the user to modify as needed (I give the user the chance to change it by running notepad.exe with my conf file du

Re: [WiX-users] CopyFile to be "executed" only on "first" install and removed only when a real uninstall

2010-04-01 Thread Viv Coco
? Is this doable? Thx, Viv On 4/1/2010 10:43 AM, Viv Coco wrote: > Hi all, > > I install an aaa.ini file together with my binaries. I need a second ini > file (bbb.ini) which is a copy of the first one, it just have a > different name, and it's in the same directory. I was th

[WiX-users] CopyFile to be "executed" only on "first" install and removed only when a real uninstall

2010-04-01 Thread Viv Coco
Hi all, I install an aaa.ini file together with my binaries. I need a second ini file (bbb.ini) which is a copy of the first one, it just have a different name, and it's in the same directory. I was thinking about using the CopyFile but I need also the following: 1) the CopyFile, meaning the cr

Re: [WiX-users] stop the service before uninstall

2010-04-01 Thread Viv Coco
;stop monitoring" registry > item for the service. > 2. A uninstall custom action (CloseApp?) that shuts down your app. > > InstallValidate finds no files in use and proceeds to stop services, > uninstall files etc. > > 3. Custom action to delete the "stop monitoring

[WiX-users] Deleting a file only when uninstalling - not installs, not upgrades, not repairs or modifies

2010-03-31 Thread Viv Coco
Hi all, I asked this question as part of another thread and then just noticed that it was not the right place as that thread was basically about smth else, so I'll ask this in a new thread here. I would like a specific file, that it's NOT installed by the installer, but later created by the us

Re: [WiX-users] don't delete/overwrite a file during major upgrade

2010-03-31 Thread Viv Coco
at it should happen only on real uninstall (not installs, not upgrades, not repairs or modifies)? Thanks, Viv On 3/31/2010 10:42 AM, Viv Coco wrote: > > Use a Component Condition on your RemoveFile so it doesn't get > touched during major upgrades. > > Thx, I'll do s

Re: [WiX-users] stop the service before uninstall

2010-03-31 Thread Viv Coco
ice was stopped (b/c at that point MyApp.exe is also not running anymore) I could get rid of this reboot-message. Can I schedule this check at a later point? Thx, Viv On 3/31/2010 10:25 AM, Viv Coco wrote: >> When, during the uninstall process, are you getting the error? Is it > happe

Re: [WiX-users] Upgrade mechanism

2010-03-31 Thread Viv Coco
6 > Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP > Email Disclaimer > > -Original Message- > From: Viv Coco [mailto:vcotirl...@hotmail.com] > Sent: 30 March 2010 12:12 > To: General discussion for Windows Installer XML toolset. &

Re: [WiX-users] Upgrade mechanism

2010-03-31 Thread Viv Coco
Hi, It's actually a good idea to start with a version lower than I ever released, so I ended up doing like: [code] [/code] Thanks a lot for the tip! Viv On 3/31/2010 12:36 AM, Curtis Jewell wrote: > > On Tue, 30 Mar 2010 13:12 +0200, "Viv Coco" > wrote: >

Re: [WiX-users] don't delete/overwrite a file during major upgrade

2010-03-31 Thread Viv Coco
ed early and can be fixed > when there is still time. (Unfortunately it's easier said than done > and took nearly two major release cycles for the mindset to catch on > here) > > Sascha > > > On Mon, Mar 29, 2010 at 9:08 PM, Viv Coco wrote: > >> Hi, >>

Re: [WiX-users] don't delete/overwrite a file during major upgrade

2010-03-31 Thread Viv Coco
Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP > Email Disclaimer > > -Original Message- > From: Viv Coco [mailto:vcotirl...@hotmail.com] > Sent: 29 March 2010 11:09 > To: General discussion for Windows Installer XML toolset. > S

Re: [WiX-users] stop the service before uninstall

2010-03-31 Thread Viv Coco
rviceControl isn't set to "wait" the service may not have actually > shut down by the time Windows tries to delete it, a timing race. Or If the > service shuts down but the process lingers then the process is still there at > file removal time requiring a reboot to delete. > &

Re: [WiX-users] stop the service before uninstall

2010-03-30 Thread Viv Coco
0) 141 945 8501 > > http://www.iesve.com > **Design, Simulate + Innovate with the** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP > Email Disclaimer > &g

[WiX-users] Upgrade mechanism

2010-03-30 Thread Viv Coco
Hi all, I would like my application to be upgraded if a newer version is run. So the behaviour should be: if the user tries to install the already installed version (meaning current version) or an older version, the installer should bail out with the message "current or newer installed". The

[WiX-users] RemoveExistingProducts after InstallInitialize -> kb 905238

2010-03-30 Thread Viv Coco
Hi all, I would like to schedule the RemoveExistingProducts after InstallInitialize in my installer: [code] [/code] in order to have first a full uninstall and then an install as my product it's really small so it's no efficiency issue. But I read this article: http://support.microsoft.com/k

Re: [WiX-users] stop the service before uninstall

2010-03-30 Thread Viv Coco
Viv ;) On 3/29/2010 12:21 PM, Viv Coco wrote: >> On pre-Vista (pre MSI 4.0) the ServiceControl entries aren't considered >> for files-in-use situations. On Restart Manager systems with MSI 4.0 and >> above, it does look at the ServiceControl table but there have been some

Re: [WiX-users] save in the registry the path to my application's installation directory

2010-03-29 Thread Viv Coco
Arghh, yes, thx! Viv ;) On 3/26/2010 10:21 AM, ricky sundrani wrote: > Check the spelling INSTALLLOCATION in the value attribute > > > On Fri, Mar 26, 2010 at 2:45 PM, Viv coco wrote: > > >> Hi, >> >> >> >> I want to save the path where my bin

Re: [WiX-users] stop the service before uninstall

2010-03-29 Thread Viv Coco
#x27;s a StartServices action. > > Phil Wilson > > -Original Message- > From: Viv coco [mailto:vcotirl...@hotmail.com] > Sent: Friday, March 26, 2010 2:12 AM > To: WiX > Subject: [WiX-users] stop the service before uninstall > > > Hi, > > > > My insta

Re: [WiX-users] manual cleanup if msi uninstaller corrupted

2010-03-29 Thread Viv Coco
Thanks guys, helpful tips! Viv ;) On 3/29/2010 6:46 AM, Sascha Beaumont wrote: > If this happens again... here's the procedure I usually follow > > 1) Fix the broken condition.. avoid making any other changes if possible. > 2) On a "broken" machine, "recache" the MSI with "msiexec /fv myproduct.m

Re: [WiX-users] don't delete/overwrite a file during major upgrade

2010-03-29 Thread Viv Coco
27;know' about the configuration file (except for the default > one which shouldn't be modified) and so won't try to replace it on > repair. Then just use RemoveFile to delete the config when your > application is uninstalled. > > > On Fri, Mar 26, 2010 at 8:08 PM,

[WiX-users] manual cleanup if msi uninstaller corrupted

2010-03-26 Thread Viv coco
Hi, If I make a faulty uninstaller and I can't uninstall my product again using the .msi, how could one do a manual uninstall and cleanup, including hidden issues that are coming from the .msi file? I got into this trouble when I added into my installer: [code] [/code]

[WiX-users] Why explicitly delete the ProgramMenuFolder\MyAppGuiSetupShortcutDir?

2010-03-26 Thread Viv coco
Hi, When I specify for instance the directory where the shortcut should be I also have to add a component to delete that folder when uninstalling, eg: [code] [/code] Without the tag and the com

[WiX-users] No "Name" needed for predefined directories

2010-03-26 Thread Viv coco
Hi, Why would one do: [code] [/code] In this specific case (as ProgramMenuFolder is a predefined directory) the "Name" doesn't have any means at all right? We could simply do: [code] [/code] Is that correct? TIA, Viv __

[WiX-users] FileSearch on INSTALLLOCATION, whereas INSTALLLOCATION is either registry entry or nested Directory tag

2010-03-26 Thread Viv coco
Hi, In the WiX tutorial is a sample that does: - reads the path to the installation directory from the registry - checks if in that directory a specific file exists - if yes, installs the a specific feature (docu) What I would have wanted would have been: - reads the path to the instal

[WiX-users] save in the registry the path to my application's installation directory

2010-03-26 Thread Viv coco
Hi, I want to save the path where my binaries are installed somewhere in the registry so I'm doing: [code]

[WiX-users] stop the service before uninstall

2010-03-26 Thread Viv coco
Hi, My installer besides my application installs also a service which is the "babysitter" for my application, eg takes care to restart my application if it crashes. When I want to uninstall everything I get the error message: "The setup must update files or services that cannot be updated w

[WiX-users] don't delete/overwrite a file during major upgrade

2010-03-26 Thread Viv coco
Hi, I read the WiX Tutorial from http://www.tramontana.co.hu/wix/ and there are some things I didn't understand or couldn't find and as I read that this is the best place for questions, I'll write them here, but for an easier followup I will write each question into a separat email. I appre