Jul 21, 2022
11:42 PM
Hi, we are facing issues with install failure and rollback which bring application to unstable state. With reboot done after failure and rollback, our application becomes stable. So to recommend user to do reboot, I am trying to reuse existing reboot prompt at end of install failure (Restart now or restart later message).
But in our installer , as ScheduleReboot is sequenced just after InstallFinalize , all the rollback actions between InstallInitialize and InstallFinalize are getting executed, but immediately after InstallFinalize all other actions are getting skipped(including ScheduleReboot).
Also tried using "OnExit=error" attribute (sequence with negative value), but as ScheduleReboot is already sequenced, I am unable to invoke it again, and also ScheduleReboot doesnt have support with OnExit.
Please suggest any workaround on introducing reboot prompt at end of install failure (after SetupCompleteError dialog displayed).
@tgvishnupriyabe
... View more
Labels
- Labels:
-
InstallShield 2019
Apr 10, 2021
03:03 AM
I have tried using same component GUID, but still seeing the same problem as the SharedDlls registry is different for both 32 bit and 64 bit . Can you please let me know if there is any other solution for this?
... View more
Apr 06, 2021
06:12 AM
We have two installers for 32 bit add 64 bit installer holding 32 bit and 64 bit respective binaries. There are few COM binaries in it, which currently has same interface name and same CLSID for both 32 bit and 64 bit installers. We are facing a problem where we have both 32 bit and 64 bit installers on same machine, but after uninstall of any one of them, we see other getting impacted. We see few shared common COM entries getting removed , because of which the other application (of different bitness) getting impacted. Analyzing further we see the below problem: There are few COM entries getting created as part of our installation (of 32 bit and 64 bit) , one under common location and the other under their respecitve 32 bit/64 bit registry hive Taking one of our COM dll as example, CoLocator2.dll, below keys are getting generated HKEY_CLASSES_ROOT\QuickBooks.CoLocator\CLSID -Common between 32 bit and 64 bit sharing same interface name and CLSID HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{E53C85D6-E6D9-4BCF-A623-72062A99AA7F} - For 32 bit HKEY_CLASSES_ROOT\CLSID\{E53C85D6-E6D9-4BCF-A623-72062A99AA7F} - For 64 bit As we have marked the component holding the COM dll as "Shared" - msidbComponentAttributesSharedDllRefCount, we see the SharedDlls registry getting updated with reference count being incremented to one for that specific dll. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\SharedDlls But as the SharedDlls registry hives are seperate for 32 bit and 64 bit dlls, we see our COM dll - 32 bit and 64 bit part of 32 bit installer and 64 bit installer respectively, makes a new entry with reference count as 1(instead of incrementing the count for same dll name) Because of this, during uninstall of 32 bit installer(or 64 bit installer), we see SharedDll reference count getting decremented to 0 and so the related COM entries are also removed, thus impacting the other. We also have dependencies on the above COM components, for which we didnt make change to the interface name and CLSID between 32 bit and 64 bit COM dll to maintain backward compatibility. We wanted to support side by side installation of 32 bit and 64 bit application and uninstall of one should not impact other. We would like to see your support, on how to solve the above problem,
... View more
Labels
- Labels:
-
InstallShield
Mar 07, 2017
06:19 AM
Hi, I am using pure installscript project and there is not option for Environmental variables view. We are still doing it from installscript code, it works on Win 7 ,but it hangs on Windows 10 machine. It hangs at the point,after setting the environment variable related registry key and try broadcasting the change to all child processes. I tried replacing with SendMessageTimeout, so as to overcome hang issue, but at end of install, I see registry key updated with new env variable, but all other child processes not reflecting the new env var until we do system restart szEnv = "Environment"; pEnv = &szEnv; //Takes more time on Windows 10 //SendMessage (HWND_BROADCAST, WM_WININICHANGE, 0, pEnv ); if(!SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, pEnv, SMTO_ABORTIFHUNG, SMTO_TIMEOUT, pResult))then LogInformation("SendMessageTimeout failed in RefreshEnvironment, Error :" + Err.LastDllError()); endif; Is there any other way to forcefully get all child processes to reflect new environmental variable without doing a system restart? Thanks, Priya RobertDickau wrote: You could also use the Environment Variables view, which uses MSI's Environment table and related actions, to append something to PATH. The view is under System Configuration, and the help topic "Environment Variables View" has details.
... View more
Jun 08, 2016
04:26 AM
We are seeing a similar issue with Windows 7 -64 bit itself, where SendMessage (HWND_BROADCAST, WM_WININICHANGE, 0, pEnv ); is taking more time. I read similar posts suggesting to use SendMessageTimeout, I see there is some restart required after environmental variables being set and so SendMessage is taking more time. Is my understanding correct? Also by using SendMessageTimeout will the problem of taking more time to refresh env will get solved? Please do reply back. Thanks, Priya
... View more
Dec 04, 2014
05:05 AM
i am too have the same problem. It works well on Windows 2012, but not on Windows 2012 R2 OS. I have set the Pin to start menu option to "yes". Even after setting the property name and value as mentioned in this post, it is not pinning. any other way to achieve it? thanks in advance rossbcl wrote: Hello! Anybody here already resolved this issue? I have 3 shortcuts, 1 for Windows App, and the other 2 are for two different pages on my Web App The installer only displays the Windows App shortcut and one of the other two. I have tried to: Put the shortcuts on Separate Features Put the shortcuts on different (separated) Target folder (destination) I am using IS 2014 Primier, I put 'YES' on Pin to Windows 8 Start Screen on all shortcuts Tried almost all suggested fixes and workarounds on the internet, but still couldn't get it. Hope anyone from here can help me. Thank you!
... View more
Latest posts by tgvishnupriyabe
Subject | Views | Posted |
---|---|---|
101 | Jul 21, 2022 11:42 PM | |
915 | Apr 10, 2021 03:03 AM | |
961 | Apr 06, 2021 06:12 AM | |
3128 | Mar 07, 2017 06:19 AM | |
1216 | Jun 08, 2016 04:26 AM | |
1505 | Dec 04, 2014 05:05 AM |
Activity Feed
- Posted Challenge in introducing reboot prompt during install failure and rollback on InstallShield Forum. Jul 21, 2022 11:42 PM
- Posted Re: Side by side installation of 32 bit and 64 bit application followed by uninstallation of one impacting other on InstallShield Forum. Apr 10, 2021 03:03 AM
- Posted Side by side installation of 32 bit and 64 bit application followed by uninstallation of one impacting other on InstallShield Forum. Apr 06, 2021 06:12 AM
- Posted Issues with broadcasting the updated environmental variable on InstallShield Forum. Mar 07, 2017 06:19 AM
- Posted SendMessage taking more time on Windows 7 -64 bit on InstallShield Forum. Jun 08, 2016 04:26 AM
- Posted Problem in pinning shortcut to start menu in wind 2012 R2 on InstallShield Forum. Dec 04, 2014 05:05 AM