Aug 19, 2019
10:50 AM
I hate that answer, but at least it explains things nicely.
... View more
Aug 16, 2019
11:32 AM
I think I have figured out what is causing me the most issue as it relates to the uninstall process. Logging gets disabled. I have been claiming that the uninstalled events for features do not get called, and other such things that happen after "moving data" during an uninstall. But as was pointed out to me once, a MessageBox appears from a feature uninstalled function. Still, it is very difficult to debug an uninstall process if logging is disabled. So, how do I force logging to be enabled? Specifically, how do I get SprintfMsiLog to appear in log files for the second half of what actually happens during an uninstall process? Why does logging get disabled in the first place?
... View more
Aug 16, 2019
11:29 AM
I think I have figured out what is causing me the most issue as it relates to the uninstall process. Logging gets disabled. I have been claiming that the uninstalled events for features do not get called, and other such things that happen after "moving data" during an uninstall. But as was pointed out to me once, a MessageBox appears from a feature uninstalled function. Still, it is very difficult to debug an uninstall process if logging is disabled. So, how do I force logging to be enabled? Specifically, how do I get SprintfMsiLog to appear in log files for the second half of what actually happens during an uninstall process? Why does logging get disabled in the first place?
... View more
Aug 16, 2019
09:48 AM
OK. I have the template summary set to "x64;1033". That's the way it has always been. And yet it seems like uninstall doesn't just work correctly. Install seems to work fine. This is with InstallShield 2018, not R2, not 2019. I don't know. Maybe it is just a bug. I certainly have found more than I would have expected of those. Working around the bugs is getting to be quite annoying actually.
... View more
Aug 15, 2019
01:39 PM
I am just now learning how special the %windir%\system32 folder is, not just on Windows 7 but even worse on Windows 10. Currently the build process I am using to create install kits is running on build machines that are based on Windows 7. Since Windows 10 functions differently, I am wondering if perhaps I will have almost insurmountable issues when that install kit is targeted for a different OS version, specifically Windows 10.
... View more
Labels
- Labels:
-
InstallShield 2018
Aug 15, 2019
01:18 PM
Wow! Nope. On Windows 10 this redirection crap adds a whole new annoying factor: windows\sysnative. When running as a 32-bit application the application has to jump through a new hoop. It has to translate "%windir%\system32" to "%windir%\sysnative" manually. Thank you Microsoft for one of the most confusing file systems ever.
... View more
Aug 15, 2019
01:02 PM
I am still missing the reason why I must force the issue with script files. These files should automatically get replaced and removed without my forcing the issue.
... View more
Aug 15, 2019
01:00 PM
I think I have found my own solution. I added calls to disable and enable WOW64FSREDIRECTION to DeleteInstalledFile. Disable at the start, enable at the end. Disable(WOW64FSREDIRECTION); Enable(WOW64FSREDIRECTION);
... View more
Aug 13, 2019
11:03 AM
Oh, there is something wrong alright. But it beats me what it could be. Here are the check boxes that I can check as to what why I think it should work. Installation Information: General Information: Template Summary = x64;1033 Installation Information: Organization: Setup Design: Default Feature: all components are listed under this feature which installs to [INSTALLDIR]. INSTALLDIR = ProgramFiles64Folder. Some of the individual components have Destination = [System64Folder]. Every component has 64-Bit Component = Yes. No warnings occur except for: ISDEV : warning -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. Every 64-bit component gets installed and runs okay. They just don't get uninstalled. Only one of those components is still actively busy during the uninstall process. I am willing to rename that one to move it out of the way, but even that fails. An installer just like this one is also built for 64-bit Windows 7. It does not have the same issue.
... View more
Aug 12, 2019
12:15 PM
I am using basically the general design for an installation kit on Windows 7 and Windows 10. I am using InstallShield 2018 (not R2), as that is what I have current licenses to use. Correct me if I am wrong, but for our multiple builds machines we would have to pay to upgrade to R2, right? On Windows 7 I have enough issues to deal with, but at least when I uninstall or upgrade I can get old files to be removed from the System64Folder. On Windows 10, however, all attempts to replace or remove those files have failed. One of the things that I have tried is to use a custom function, shown here: //--------------------------------------------------------------------------- function void DeleteInstalledFile(szFolder, szFilename) // Delete the file from the specified folder and log the results. STRING svResult; begin if (DeleteFile (szFolder ^ szFilename) == 0) then SprintfMsiLog("###> DeleteInstalledFile: %s\%s deleted", szFolder, szFilename); else DeleteFile(TempFolder ^ szFilename); // Make sure rename destination is removed if (RenameFile(szFolder ^ szFilename, TempFolder ^ szFilename) == 0) then SprintfMsiLog("###> DeleteInstalledFile: %s\%s renamed %s\%s", szFolder, szFilename, TempFolder, szFilename); BATCH_INSTALL = TRUE; else if (FindFile(szFolder, szFilename, svResult) != 0) then SprintfMsiLog("###> DeleteInstalledFile: cannot find %s\%s", szFolder, szFilename); else SprintfMsiLog("###> DeleteInstalledFile: cannot rename %s\%s", szFolder, szFilename); endif; endif; endif; end; The DeleteFile operation fails. Then the RenameFile operation fails. Even the FindFile operation fails. And yet the file persists. I have the Required Execution Level set to Administrator. Using a command shell launched as administrator I can clean up these things manually. But of course I cannot ask our customers to use a batch script to make up for what the install kit will not do.
... View more
Labels
- Labels:
-
InstallShield 2018
Aug 12, 2019
11:42 AM
My primary concerns have not been answered, not even in private messages. Perhaps 2018 R2 resolves at least one of the minor issues. But the cost to upgrade just to resolve such a thing seems prohibitive.
... View more
Aug 01, 2019
11:04 AM
Hi @banna_k, I find the Flexera Community confusing and difficult to use with very poor help and search engines. Please explain how one can "private message" and I will do so.
... View more
Jul 31, 2019
02:05 PM
Even that never occurs for me during uninstall.
... View more
Jul 31, 2019
02:04 PM
But even with InstallShield 2018 and a simple InstallScript MSI Project I don't even see OnMaintUIAfter get called during the uninstall of that project, much less any uninstall related feature events. Why even have uninstall feature events defined if they are so unlikely to ever occur?
... View more
Latest posts by JEichenberger
Subject | Views | Posted |
---|---|---|
1937 | Aug 19, 2019 10:50 AM | |
1962 | Aug 16, 2019 11:32 AM | |
2106 | Aug 16, 2019 11:29 AM | |
729 | Aug 16, 2019 09:48 AM | |
744 | Aug 15, 2019 01:39 PM | |
1574 | Aug 15, 2019 01:18 PM | |
1578 | Aug 15, 2019 01:02 PM | |
1582 | Aug 15, 2019 01:00 PM | |
1503 | Aug 13, 2019 11:03 AM | |
1619 | Aug 12, 2019 12:15 PM |
Activity Feed
- Posted Re: unable to run feature event during uninstallation on InstallShield Forum. Aug 19, 2019 10:50 AM
- Kudoed Re: unable to run feature event during uninstallation for banna_k. Aug 19, 2019 10:49 AM
- Posted Re: unable to run feature event during uninstallation on InstallShield Forum. Aug 16, 2019 11:32 AM
- Posted Re: Feature Events not Called on Uninstall from Major Upgrade on InstallShield Forum. Aug 16, 2019 11:29 AM
- Posted Re: Can I build a 64-bit InstallScript MSI Project on a Windows 7 PC and expect it to work correctly on Windows 10? on InstallShield Forum. Aug 16, 2019 09:48 AM
- Posted Can I build a 64-bit InstallScript MSI Project on a Windows 7 PC and expect it to work correctly on Windows 10? on InstallShield Forum. Aug 15, 2019 01:39 PM
- Posted Re: My InstallScript MSI Project is unable to uninstall files from System64Folder on InstallShield Forum. Aug 15, 2019 01:18 PM
- Posted Re: My InstallScript MSI Project is unable to uninstall files from System64Folder on InstallShield Forum. Aug 15, 2019 01:02 PM
- Posted Re: My InstallScript MSI Project is unable to uninstall files from System64Folder on InstallShield Forum. Aug 15, 2019 01:00 PM
- Posted Re: My InstallScript MSI Project is unable to uninstall files from System64Folder on InstallShield Forum. Aug 13, 2019 11:03 AM
- Posted My InstallScript MSI Project is unable to uninstall files from System64Folder on InstallShield Forum. Aug 12, 2019 12:15 PM
- Posted Re: Feature Events not Called on Uninstall from Major Upgrade on InstallShield Forum. Aug 12, 2019 11:42 AM
- Posted Re: Feature Events not Called on Uninstall from Major Upgrade on InstallShield Forum. Aug 01, 2019 11:04 AM
- Posted Re: unable to run feature event during uninstallation on InstallShield Forum. Jul 31, 2019 02:05 PM
- Posted Re: Feature Events not Called on Uninstall from Major Upgrade on InstallShield Forum. Jul 31, 2019 02:04 PM