This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- CheckShowMsiLog Check Box IN IS 12
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2009
04:03 AM
CheckShowMsiLog Check Box IN IS 12
HI
I am using Installshield 12 to author Setup. I want to display MSI log on Setup Interrupted dialog box
I have set ISSHOWMSILOG property to 1
When I check Show MSI log check Box
I am getting folloewing error: Can not find .txt file
Notpad is properly launched
I think MSiLogFileLocation property is not getting Initialized
How can I fix this error.
Thanks
I am using Installshield 12 to author Setup. I want to display MSI log on Setup Interrupted dialog box
I have set ISSHOWMSILOG property to 1
When I check Show MSI log check Box
I am getting folloewing error: Can not find .txt file
Notpad is properly launched
I think MSiLogFileLocation property is not getting Initialized
How can I fix this error.
Thanks
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2009
10:37 AM
Are you running on MSI 4.0 or later (Windows Vista for MSI 4.0, or MSI 4.5 redistributable installed on Vista or other systems)? If not, MsiLogFileLocation is not set by Windows Installer. However the default conditions should hide the checkbox unless MsiLogFileLocation is set, so I'm unclear how you would encounter the error as described unless you've changed things.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 17, 2009
03:33 AM
Yes MichaelU
I am running my Installation on Windows Vista which has Windows Installer 4.0
I had checked In the Installation log "MsiLogFileLocation" property is properly set where my Installation log is generated.
funniest part is I have one sample project which is able to populate Windows Installer log. I am using installshield 12 for both of the projects.
Is there anything which is I am missing out.
As notpad is properly launched when we click on show MSI Log check box means we are sure that ShowMsiLog CA is executed properly. Even Install log states same thing that ShowMsiLog returns 2.
I am clueless what making it to search for ".txt" file.
Is there anything which go improper in Direct editor table?
Hope this will clear what problem I am exactly facing.
Thanks in advance for quick suppport
I am running my Installation on Windows Vista which has Windows Installer 4.0
I had checked In the Installation log "MsiLogFileLocation" property is properly set where my Installation log is generated.
funniest part is I have one sample project which is able to populate Windows Installer log. I am using installshield 12 for both of the projects.
Is there anything which is I am missing out.
As notpad is properly launched when we click on show MSI Log check box means we are sure that ShowMsiLog CA is executed properly. Even Install log states same thing that ShowMsiLog returns 2.
I am clueless what making it to search for ".txt" file.
Is there anything which go improper in Direct editor table?
Hope this will clear what problem I am exactly facing.
Thanks in advance for quick suppport
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 17, 2009
11:37 AM
If this always fails (in the failing project), try going to the Custom Actions view, making sure Show All Custom Actions is checked in the context menu, and examining the ShowMsiLog action. It should have a filename and command line similar to [SystemFolder]notepad.exe "[MsiLogFileLocation]"; you can compare it to your working sample project's settings.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 18, 2009
03:05 AM
Yes MichaelU
ShowMsiLog CA is in place also command line is and command line similar to [SystemFolder]notepad.exe "[MsiLogFileLocation]
Only Thing which I posted earlier was wrong was "ShowMsiLog" CA returns 2;
actual Log I have attached here which shows I have entered in ShowMsiLog Custom Action but does not return from there.
MSI (c) (E0:9C) [18:18:21:031]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'SetupInterrupted'
Info 2826.Control ShowMsiLogText on dialog SetupInterrupted extends beyond the boundaries of the dialog to the right by 24 pixels.
Action 18:18:21: SetupInterrupted. Dialog created
MSI (c) (E0:68) [18:18:22:046]: PROPERTY CHANGE: Adding ISSHOWMSILOG property. Its value is '1'.
MSI (c) (E0:68) [18:18:23:031]: Doing action: ShowMsiLog
Action 18:18:23: ShowMsiLog.
Action start 18:18:23: ShowMsiLog.
MSI (c) (E0:68) [18:18:23:031]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ShowMsiLog'
MSI (c) (E0:68) [18:18:23:031]: Doing action: ISSetupFilesCleanup
Action 18:18:23: ISSetupFilesCleanup.
Action start 18:18:23: ISSetupFilesCleanup.
MSI (c) (E0:68) [18:18:23:031]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ISSetupFilesCleanup'
MSI (c) (E0:C4) [18:18:23:046]: Invoking remote custom action. DLL: C:\DOCUME~1\AUTOMA~1\LOCALS~1\Temp\MSI242.tmp, Entrypoint: SFCleanupEx
Action ended 18:18:23: ISSetupFilesCleanup. Return value 1.
Action ended 18:18:23: SetupInterrupted. Return value 2.
Action ended 18:18:23: INSTALL. Return value 2.
MSI (c) (E0:9C) [18:18:23:109]: Destroying RemoteAPI object.
MSI (c) (E0:58) [18:18:23:109]: Custom Action Manager thread ending.
ShowMsiLog CA is in place also command line is and command line similar to [SystemFolder]notepad.exe "[MsiLogFileLocation]
Only Thing which I posted earlier was wrong was "ShowMsiLog" CA returns 2;
actual Log I have attached here which shows I have entered in ShowMsiLog Custom Action but does not return from there.
MSI (c) (E0:9C) [18:18:21:031]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'SetupInterrupted'
Info 2826.Control ShowMsiLogText on dialog SetupInterrupted extends beyond the boundaries of the dialog to the right by 24 pixels.
Action 18:18:21: SetupInterrupted. Dialog created
MSI (c) (E0:68) [18:18:22:046]: PROPERTY CHANGE: Adding ISSHOWMSILOG property. Its value is '1'.
MSI (c) (E0:68) [18:18:23:031]: Doing action: ShowMsiLog
Action 18:18:23: ShowMsiLog.
Action start 18:18:23: ShowMsiLog.
MSI (c) (E0:68) [18:18:23:031]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ShowMsiLog'
MSI (c) (E0:68) [18:18:23:031]: Doing action: ISSetupFilesCleanup
Action 18:18:23: ISSetupFilesCleanup.
Action start 18:18:23: ISSetupFilesCleanup.
MSI (c) (E0:68) [18:18:23:031]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ISSetupFilesCleanup'
MSI (c) (E0:C4) [18:18:23:046]: Invoking remote custom action. DLL: C:\DOCUME~1\AUTOMA~1\LOCALS~1\Temp\MSI242.tmp, Entrypoint: SFCleanupEx
Action ended 18:18:23: ISSetupFilesCleanup. Return value 1.
Action ended 18:18:23: SetupInterrupted. Return value 2.
Action ended 18:18:23: INSTALL. Return value 2.
MSI (c) (E0:9C) [18:18:23:109]: Destroying RemoteAPI object.
MSI (c) (E0:58) [18:18:23:109]: Custom Action Manager thread ending.