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
- :
- InstallScript sometimes doesn't run during installation?
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
Nov 13, 2024
03:02 AM
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!
Labels (5)
(0) Replies