[WiX-users] Upgrade question - when does

2007-09-14 Thread János Brezniczky
 Hi all,

I just would like to know under what conditions does the following action
execute:

CustomAction Id='AlreadyUpdated' Error='Foobar 1.0 has already been updated
to 1.0.1 or newer.' /

(The snippet is taken from the WiX Tutorial, lesson 4: *
http://www.tramontana.co.hu/wix/lesson4.php*http://www.tramontana.co.hu/wix/lesson4.php)

I could not produce such a case, but it would be great to *test* - and of
course understand - it.

I've been trying to modify the New sample to an even newer one with
version 1.0.2. After I installed the modified version, I could still
(re)install the 1.0.1 version without a problem, I think because the command
line properties (REINSTALL, ..) had to be specified. So what would be the
correct solution to produce the error?

Thanks in advance!
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade question - when does

2007-09-14 Thread Rob Hamflett
It's explained immediately below that piece of text.  During the 
InstallExecuteSequence, after 
FindRelatedProducts if PATCHFOUND is set.  PATHCFOUND is set (or not) in the 
Upgrade table, which is 
detailed in the preceding few paragraphs.

Rob

János Brezniczky wrote:
 Hi all,
  
 I just would like to know under what conditions does the following 
 action execute:
  
 CustomAction Id='AlreadyUpdated' Error='Foobar 1.0 has already been 
 updated to 1.0.1 or newer.' /
  
 (The snippet is taken from the WiX Tutorial, lesson 4: 
 _http://www.tramontana.co.hu/wix/lesson4.php_
 )
  
 I could not produce such a case, but it would be great to *test* - and 
 of course understand - it.
  
 I've been trying to modify the New sample to an even newer one with 
 version 1.0.2. After I installed the modified version, I could still 
 (re)install the 1.0.1 version without a problem, I think because the 
 command line properties (REINSTALL, ..) had to be specified. So what 
 would be the correct solution to produce the error?
  
 Thanks in advance!
 
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade question - when does

2007-09-14 Thread János Brezniczky
 Thank you for taking the time to reply.

I read those paragraphs a couple of times, downloaded the sample, generated
and copied the GUIDS etc. before writing to the list, and the question did
not target the sequencing of the events. Maybe I have done something wrong,
maybe I missed something from the explanation, but I could not produce that
error message. What I'm interested in is how can that error be made to
occur, to see it appearing in a dialog on-screen (or in the logs), in
practice. What preparations are required for this test (case)?
(In other words: should it appear when 1.0.2 is installed, and an
1.0.1installation runs? It didn't, but I could not find a mistype or
something
like that in the samples I had modified. I built two different bunch of
installers for the purpose. The next question will be: why couldn't I
trigger the error? then...)

Thanks again!

Janos


2007/9/14, Rob Hamflett [EMAIL PROTECTED]:

 It's explained immediately below that piece of text.  During the
 InstallExecuteSequence, after
 FindRelatedProducts if PATCHFOUND is set.  PATHCFOUND is set (or not) in
 the Upgrade table, which is
 detailed in the preceding few paragraphs.

 Rob

 János Brezniczky wrote:
  Hi all,
 
  I just would like to know under what conditions does the following
  action execute:
 
  CustomAction Id='AlreadyUpdated' Error='Foobar 1.0 has already been
  updated to 1.0.1 or newer.' /
 
  (The snippet is taken from the WiX Tutorial, lesson 4:
  _http://www.tramontana.co.hu/wix/lesson4.php_
  )
 
  I could not produce such a case, but it would be great to *test* - and
  of course understand - it.
 
  I've been trying to modify the New sample to an even newer one with
  version 1.0.2. After I installed the modified version, I could still
  (re)install the 1.0.1 version without a problem, I think because the
  command line properties (REINSTALL, ..) had to be specified. So what
  would be the correct solution to produce the error?
 
  Thanks in advance!
 
 
  
 
 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 
 
  
 
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users