Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-26 Thread Pally Sandher
InstallExecuteSequence is always called. However when running with full
UI it goes InstallUISequence first followed by InstallExecuteSequence
which is why your code is working now. When running with basic (/qb) or
no (/qn) UI it only runs the InstallExecuteSequence.

What I was trying to highlight was that you were looking at the wrong
place in your log file. The InstallUISequence shows up as "MSI (c)" in
the log where as the InstallExecuteSequence shows up as "MSI (s)" (c =
client, s = server). I wasn't recommending you change it to the
InstallUISequence as it's not going to work now if your users run your
installer without any UI (test it for yourself & see). If you're happy
with that behaviour then fair enough but I've seen enough corporate &
even end-user installation scenarios where full UI isn't used to know
that you should never rely on it.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (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

-Original Message-
From: Lukas Haase [mailto:lukasha...@gmx.at] 
Sent: 23 July 2010 13:18
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] InstallExecuteSequence completely ignored

Dear Pally,

Am 23.07.2010 11:04, schrieb Pally Sandher:
> MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID Aktion
21:07:26: ValidateProductID.
>
> That's the InstallUISequence not the InstallExecuteSequence.

Indeed! I changed now to InstallUISequence and now it works!

But why? The tutorial clearly states that InstallExecuteSequence is
*always* called:

   "InstallExecuteSequence is always consulted by the installer to
determine the actions, InstallUISequence is only considered when the
installer runs in full or reduced UI mode (yet another functionality to
experiment with, try msiexec /qn, /qb and /qr)"

And second, this is the sample from the tutorial:

 


   
   PIDACCEPTED = "0" AND
NOT Installed 



It uses InstallExecuteSequence as well!

> WiX doesn't "ignore InstallExecuteSequence" as the
InstallExecuteSequence is just another database table to WiX. WiX is a
way for you to make packages for Windows Installer. If your custom
action isn't running, it's highly unlikely the blame can be placed on
WiX.

Sorry if you got me wrong. Of course, I do NOT want to blame WiX :-) I
just did not understand the action is not called (it seemed to me that
my sequence was ignored)...

Regards,
   Luke



--
This SF.net email is sponsored by Sprint What will you do first with
EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Lukas Haase
Dear Pally,

Am 23.07.2010 11:04, schrieb Pally Sandher:
> MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID Aktion 
> 21:07:26: ValidateProductID.
>
> That's the InstallUISequence not the InstallExecuteSequence.

Indeed! I changed now to InstallUISequence and now it works!

But why? The tutorial clearly states that InstallExecuteSequence is 
*always* called:

   "InstallExecuteSequence is always consulted by the installer to 
determine the actions, InstallUISequence is only considered when the 
installer runs in full or reduced UI mode (yet another functionality to 
experiment with, try msiexec /qn, /qb and /qr)"

And second, this is the sample from the tutorial:





   
   PIDACCEPTED = "0" AND 
NOT Installed




It uses InstallExecuteSequence as well!

> WiX doesn't "ignore InstallExecuteSequence" as the
InstallExecuteSequence is just another database table to WiX. WiX is a
way for you to make packages for Windows Installer. If your custom
action isn't running, it's highly unlikely the blame can be placed on WiX.

Sorry if you got me wrong. Of course, I do NOT want to blame WiX :-) I 
just did not understand the action is not called (it seemed to me that 
my sequence was ignored)...

Regards,
   Luke


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Lukas Haase
Dear Blair,

What do you mean exactly with that? I just added the following test 
lines to my wxs file:

Notepad.exe



   


But even if something goes wrong, the word Foo needs to be at least 
found in the very verbose debug log, shouldn't it? The word is not even 
found in the debug log!

msiexec.exe /i Test.msi /l*xv Test.log

$ grep Foo Test.log
$

Orca tells me that my action is contained in the MSI:

http://img153.imageshack.us/img153/3208/orca.png

Regards,
   Luke





Am 23.07.2010 08:39, schrieb Blair:
> Is your added authoring in a fragment that has other things that ARE in the
> MSI (use ORCA to see what got into the MSI)?
>
> -Original Message-
> From: Lukas Haase [mailto:lukasha...@gmx.at]
> Sent: Thursday, July 22, 2010 12:12 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] InstallExecuteSequence completely ignored
>
> Hi,
>
> As proposed in one mail I wrote a DLL for detecting old installations.
> But WiX seems to completely ignore InstallExecuteSequence!
>
> I played around, tried different things but it is just ignored!
>
> For testing I just added this to my file:
>
> Notepad.exe
>   Return='asyncNoWait' />
>
> 
> 
> 
>
> Even if I install with msiexec /i test.msi /l*vx logfile.log
>
> there is not even the word FooBar included! After LaunchConditions there
> is ValidateProductID executed:
>
> [...]
> Aktion gestartet um 21:07:26: LaunchConditions.
> Aktion beendet um 21:07:26: LaunchConditions. Rückgabewert 1.
> MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID
> Aktion 21:07:26: ValidateProductID.
> [...]
>
> Is there anything I should additionally do?
>
> Regards,
> Luke
>
>
> 
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Lukas Haase
Dear Rob,

This was also my first guess. But I deleted and recompiled a few times. 
I even renamed the file.

I do not know which entry in the logfile you mean but the one line 
containing "cache" on the top is:

MSI (c) (04:E8) [13:50:57:178]: Resetting cached policy values

Another two lines attracted my attention:

MSI (c) (04:E8) [13:51:04:439]: Original package ==> D:\devel\Test.msi
MSI (c) (04:E8) [13:51:04:439]: Package we're running from ==> 
C:\DOKUME~1\root\LOKALE~1\Temp\acccbfa.msi

But in fact the acccbfa.msi is created *after* I start the installation 
and it is identical to the original msi...

Regards,
Luke



Am 23.07.2010 08:37, schrieb Rob Mensching:
> Hmm, my first guess is that the new MSI isn't actually being used for the
> install. Is it possible the MSI is already cached and you're re-running
> using the cached MSI?  The verbose log file will show you at the top.
>
> On Thu, Jul 22, 2010 at 12:12 PM, Lukas Haase  wrote:
>
>> Hi,
>>
>> As proposed in one mail I wrote a DLL for detecting old installations.
>> But WiX seems to completely ignore InstallExecuteSequence!
>>
>> I played around, tried different things but it is just ignored!
>>
>> For testing I just added this to my file:
>>
>> Notepad.exe
>> > Return='asyncNoWait' />
>>
>> 
>>
>> 
>>
>> Even if I install with msiexec /i test.msi /l*vx logfile.log
>>
>> there is not even the word FooBar included! After LaunchConditions there
>> is ValidateProductID executed:
>>
>> [...]
>> Aktion gestartet um 21:07:26: LaunchConditions.
>> Aktion beendet um 21:07:26: LaunchConditions. Rückgabewert 1.
>> MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID
>> Aktion 21:07:26: ValidateProductID.
>> [...]
>>
>> Is there anything I should additionally do?
>>
>> Regards,
>> Luke
>>
>>
>>
>> --
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
>



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Pally Sandher
MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID Aktion 
21:07:26: ValidateProductID.

That's the InstallUISequence not the InstallExecuteSequence.

WiX doesn't "ignore InstallExecuteSequence" as the InstallExecuteSequence is 
just another database table to WiX. WiX is a way for you to make packages for 
Windows Installer. If your custom action isn't running, it's highly unlikely 
the blame can be placed on WiX.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (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

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: 23 July 2010 07:40
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] InstallExecuteSequence completely ignored

Is your added authoring in a fragment that has other things that ARE in the MSI 
(use ORCA to see what got into the MSI)?

-Original Message-
From: Lukas Haase [mailto:lukasha...@gmx.at]
Sent: Thursday, July 22, 2010 12:12 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] InstallExecuteSequence completely ignored

Hi,

As proposed in one mail I wrote a DLL for detecting old installations. 
But WiX seems to completely ignore InstallExecuteSequence!

I played around, tried different things but it is just ignored!

For testing I just added this to my file:

Notepad.exe





Even if I install with msiexec /i test.msi /l*vx logfile.log

there is not even the word FooBar included! After LaunchConditions there is 
ValidateProductID executed:

[...]
Aktion gestartet um 21:07:26: LaunchConditions.
Aktion beendet um 21:07:26: LaunchConditions. Rückgabewert 1.
MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID Aktion 
21:07:26: ValidateProductID.
[...]

Is there anything I should additionally do?

Regards,
Luke



--
This SF.net email is sponsored by Sprint What will you do first with EVO, the 
first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by Sprint What will you do first with EVO, the 
first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-22 Thread Blair
Is your added authoring in a fragment that has other things that ARE in the
MSI (use ORCA to see what got into the MSI)?

-Original Message-
From: Lukas Haase [mailto:lukasha...@gmx.at] 
Sent: Thursday, July 22, 2010 12:12 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] InstallExecuteSequence completely ignored

Hi,

As proposed in one mail I wrote a DLL for detecting old installations. 
But WiX seems to completely ignore InstallExecuteSequence!

I played around, tried different things but it is just ignored!

For testing I just added this to my file:

Notepad.exe



   


Even if I install with msiexec /i test.msi /l*vx logfile.log

there is not even the word FooBar included! After LaunchConditions there 
is ValidateProductID executed:

[...]
Aktion gestartet um 21:07:26: LaunchConditions.
Aktion beendet um 21:07:26: LaunchConditions. Rückgabewert 1.
MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID
Aktion 21:07:26: ValidateProductID.
[...]

Is there anything I should additionally do?

Regards,
Luke



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-22 Thread Rob Mensching
Hmm, my first guess is that the new MSI isn't actually being used for the
install. Is it possible the MSI is already cached and you're re-running
using the cached MSI?  The verbose log file will show you at the top.

On Thu, Jul 22, 2010 at 12:12 PM, Lukas Haase  wrote:

> Hi,
>
> As proposed in one mail I wrote a DLL for detecting old installations.
> But WiX seems to completely ignore InstallExecuteSequence!
>
> I played around, tried different things but it is just ignored!
>
> For testing I just added this to my file:
>
> Notepad.exe
> Return='asyncNoWait' />
>
> 
>   
> 
>
> Even if I install with msiexec /i test.msi /l*vx logfile.log
>
> there is not even the word FooBar included! After LaunchConditions there
> is ValidateProductID executed:
>
> [...]
> Aktion gestartet um 21:07:26: LaunchConditions.
> Aktion beendet um 21:07:26: LaunchConditions. Rückgabewert 1.
> MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID
> Aktion 21:07:26: ValidateProductID.
> [...]
>
> Is there anything I should additionally do?
>
> Regards,
> Luke
>
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] InstallExecuteSequence completely ignored

2010-07-22 Thread Lukas Haase
Hi,

As proposed in one mail I wrote a DLL for detecting old installations. 
But WiX seems to completely ignore InstallExecuteSequence!

I played around, tried different things but it is just ignored!

For testing I just added this to my file:

Notepad.exe



   


Even if I install with msiexec /i test.msi /l*vx logfile.log

there is not even the word FooBar included! After LaunchConditions there 
is ValidateProductID executed:

[...]
Aktion gestartet um 21:07:26: LaunchConditions.
Aktion beendet um 21:07:26: LaunchConditions. Rückgabewert 1.
MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID
Aktion 21:07:26: ValidateProductID.
[...]

Is there anything I should additionally do?

Regards,
Luke


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users