cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bezpal
Level 4

ShowMsiLog

Hi!
In Basic MSI project I'm trying to get to show MSI log at the end. It is enabled and everything, ShowMsiLog condition is "MsiLogFileLocation And (ISSHOWMSILOG="1") "
However, nothing happens :confused:
Below is fragment of the msi log. It shows "ShowMsiLog. Return value 1631"
Any idea what this may mean? Why log is not showing?

Thanks much!
........................................................
MSI (s) (7C:34) [10:03:50:210]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\bezpal\AppData\Local\Temp\MSIff247.LOG'.
..........................................................
MSI (c) (D0:E8) [10:11:04:191]: Doing action: SetupCompleteSuccess
Action 10:11:04: SetupCompleteSuccess.
Action start 10:11:04: SetupCompleteSuccess.
Action 10:11:04: SetupCompleteSuccess. Dialog created
MSI (c) (D0:EC) [10:11:11:544]: PROPERTY CHANGE: Adding ISSHOWMSILOG property. Its value is '1'.
MSI (c) (D0:EC) [10:11:13:753]: Doing action: ShowMsiLog
Action 10:11:13: ShowMsiLog.
Action start 10:11:13: ShowMsiLog.
Action ended 10:11:13: SetupCompleteSuccess. Return value 2.
Action ended 10:11:13: INSTALL. Return value 1.
Action ended 10:11:13: ShowMsiLog. Return value 1631.
MSI (c) (D0:E8) [10:11:13:834]: Destroying RemoteAPI object.
MSI (c) (D0:7C) [10:11:13:835]: Custom Action Manager thread ending.
Labels (1)
0 Kudos
(4) Replies
ElenaN
Level 6

I’m not sure that it will help, but try to add ISSHOWMSILOG (with value 1) to the Property Manager instead of changing it during installation.
0 Kudos
bezpal
Level 4

Well, I've tried to set ShowMsiLog condition simply to 1 i.e. it should alwais show. However nothing happened :rolleyes:
Could it be related to Vista UAC?
I have checked Event Viewer as well but can't find anything related.

Here is another fragment of the Msi Log
----------------
MSI (c) (B4:EC) [14:36:28:981]: Doing action: SetupCompleteSuccess
Action 14:36:28: SetupCompleteSuccess.
Action start 14:36:28: SetupCompleteSuccess.
Action 14:36:29: SetupCompleteSuccess. Dialog created
MSI (c) (B4:70) [14:36:33:346]: PROPERTY CHANGE: Adding ISSHOWMSILOG property. Its value is '1'.
MSI (c) (B4:70) [14:36:35:477]: Doing action: ShowMsiLog
Action 14:36:35: ShowMsiLog.
Action start 14:36:35: ShowMsiLog.
Action ended 14:36:35: SetupCompleteSuccess. Return value 2.
Action ended 14:36:35: INSTALL. Return value 1.
MSI (c) (B4:EC) [14:36:35:513]: Destroying RemoteAPI object.
MSI (c) (B4:88) [14:36:35:514]: Custom Action Manager thread ending.
0 Kudos
bezpal
Level 4

Disabled UAC.
No luck...:eek:
0 Kudos
TsungH
Level 12

For XP (32-bit) and Vista (64-bit, I presume 32-bit as well), notepad.exe exists in WindowsFolder as well as in SystemFolder. However, on Windows Server 2008 (32-bit), notepad.exe exists only in SystemFolder. So, you will want to change WindowsFolder to SystemFolder in the custom action.
0 Kudos