cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
installerguru12
Level 3

InstallScript sometimes doesn't run during installation?

Hi all,

I have noticed some strange behavior sometimes where the basic .msi installer I created doesn't run the InstallScript function on some Windows 64-bit devices.  I compared the installation log between two devices and noticed that the non-working one skips the InstallScript functions. Both devices are ran with elevated privileges as well along with verbose logging.

For example the expected installation log should show InstallShield ... Running InstallScript function...:

 

MSI (s) (C4:C8) [20:13:30:458]: Creating MSIHANDLE (2) of type 790542 for thread 12488
MSI (s) (C4:C8) [20:13:30:458]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI76B.tmp, Entrypoint: f2
MSI (s) (C4:24) [20:13:30:458]: Generating random cookie.
MSI (s) (C4:24) [20:13:30:458]: Created Custom Action Server with PID 15320 (0x3BD8).
MSI (s) (C4:54) [20:13:30:473]: Running as a service.
MSI (s) (C4:54) [20:13:30:473]: Hello, I'm your 32bit Impersonated custom action server.
MSI (s) (C4:54) [20:13:30:489]: Creating MSIHANDLE (3) of type 790531 for thread 2388
InstallShield 20:13:30: Running InstallScript function f2
MSI (s) (C4:54) [20:13:30:489]: Closing MSIHANDLE (3) of type 790531 for thread 2388
MSI (s) (C4:54) [20:13:30:489]: Creating MSIHANDLE (4) of type 790531 for thread 2388
InstallShield 20:13:30: Opening stream of file C:\WINDOWS\Installer\MSI76B.tmp
MSI (s) (C4:54) [20:13:30:489]: Closing MSIHANDLE (4) of type 790531 for thread 2388
MSI (s) (C4:54) [20:13:30:489]: Creating MSIHANDLE (5) of type 790531 for thread 2388
InstallShield 20:13:30: Extracting support file IsConfig.ini to C:\Users\InstallerGuru\AppData\Local\Temp\{12F905E3-F2B2-4344-A624-8D3F85211171}\IsConfig.ini
MSI (s) (C4:54) [20:13:30:489]: Closing MSIHANDLE (5) of type 790531 for thread 2388
MSI (s) (C4:54) [20:13:30:504]: Creating MSIHANDLE (6) of type 790531 for thread 2388
InstallShield 20:13:30: Extracted isconfig.ini to C:\Users\InstallerGuru\AppData\Local\Temp\{12F905E3-F2B2-4344-A624-8D3F85211171}\IsConfig.ini

 

Are there any ideas I should take a look at first? Compare the permissions on both devices? Suggestions or troubleshooting guides are greatly appreciated!

0 Kudos

(0) Replies