Aug 19, 2008
11:35 AM
Guess I'm not awake yet today. 😮 Function OnMaintUIAfter( ) can be used for this, by testing REMOVEALLMODE: if REMOVEALLMODE!=0 then MessageBox("This code runs only when ininstalling.", INFORMATION); endif; However, I still maintain it's a little misleading that a built-in function named OnUninstall( ) is not executed when you uninstall! :rolleyes:
... View more
Aug 19, 2008
10:59 AM
I want to execute some InstallScript code in an InstallScript MSI application when, and only when, the user uninstalls the application from within Add/Remove Programs. I thought the UnInstall() function, found in the Miscellaneous section, would do this. But when I uninstall my application via Add/Remove Programs, function UnInstall() does not seem to be invoked! I put in a messagebox just as a test, and never saw the messagebox. Is there another function I can use? OnMaintUIAfter is not appropriate, because it might be a MODIFY or REPAIR type install, not an uninstall. OnEnd is not appropriate because that function is always invoked (installing + uninstalling). Any ideas?
... View more
Labels
- Labels:
-
InstallShield 2009
Aug 13, 2008
09:19 AM
Even after converting from an Automatic Upgrade to a Major Upgrade, the results are unchanged -- still works, but still have multiple entries in the Add/Remove Programs dialog!! Help!
... View more
Aug 13, 2008
08:49 AM
I performed a Major Upgrade to a previous version of our product. It apparently worked (old files removed, new files installed), but when I look in the Add/Remove Programs there are two entries for the product, the old and the new. How can I have just one entry in Add/Remove Programs, the one for the latest version? This is the procedure I followed: Old version 7.4.0.0, InstallScript MSI, created with InstallShield 2008. New version 8.0.1.0, InstallScript MSI, created with InstallShield 2009. 1. Changed Product version from 7.4.0.0 to 8.0.1.0 2. Changed the Package Code 3. Changed the Product Code (as req'd for Major Upgrade) 4. Added an Automatic Upgrade, pointing to setup.exe for old version 7.4.0.0. 5. Compiled (Validation Succeeded; said it would perform a Major Upgrade) Could I solve this by converting the Automatic Upgrade to a Major Upgrade? I don't want the customer to see multiple entries in the Add/Remove Programs dialog. Thanks for any suggestions.
... View more
Labels
- Labels:
-
InstallShield 2009
Jul 25, 2008
04:45 PM
JohnnyEnglish: here are my answers to your questions: 1. Is the 1601 error new since you changed the prq to ignore the reboot? ANSWER: No, I saw this before modifying the prerequisite. 2. Could you upload an MSI log for this? ANSWER: Sorry, I don't know where this would have been stored on the computer. 3. The behavior I saw (and I assume this was the same for Chris) was that the MSI launched without problem but at the end of the Install instead of launching the chained packages it just finishes. ANSWER: The error I got occurred before any of my files could be transferred to the computer. It happened immediately after the Windows Installer 4.5 install process completed. 4. What service pack level of XP are you running this on? ANSWER: Service Pack 2. But I know this will also have to work on XP computers having Service Pack 3.
... View more
Jul 25, 2008
04:17 PM
That didn't work for me. What I did was this: 1. In the Redistributables view, I right-clicked the Windows Installer 4.5 for XP and selected Edit Prerequisite. 2. On the Behavior tab of the dialog that appears, at the bottom there is a drop-down combo box for "If the prerequisite appears to need a reboot" I selected the "Ignore it, and fail to resume if machine is rebooted" entry. 3. Rebuilt the project (0 errors 0 warnings) 4. Tested on an XP computer that did not have Windows Installer 4.5. At the start of the install Windows Installer 4.5 process begins and completes with no warnings or errors. As the install proceeds I got an error message stating "Error -1601 The Windows Installer Service could not be accessed." 5. Thinking that this simply means the Windows Installer Service has been stopped, I looked at the list of services (right-click My Computer, Manage, click on Services and Applications / Services). It was running, so there went that theory out the window. After closing the install and re-starting (but not rebooting!) the install works perfectly, which is the same observation Christopher Painter stated above. So ... it seems to have made no difference at all. Drat! 😞
... View more
Jul 25, 2008
10:55 AM
Hmmm, Christopher Painter's post earlier today seems to be related to the same problem: http://community.macrovision.com/showthread.php?t=182418 Apparently the reboot is required (#*@!).:eek: at least until someone can find a way around it.
... View more
Jul 25, 2008
10:48 AM
Regarding chained msi packages for IS2009, is a reboot absolutely required after installing Windows Installer 4.5 before proceeding with my product installation (an InstallScript MSI project)? Does the answer depend on the operating system (XP / 2003 / Vista)? If a reboot is required it makes no sense for me to include Windows Installer 4.5 as a redistributable, because the product installation would immediately proceed ... but the chained packages would not install. It sounds like I would need to request the user to manually install it, reboot, then install my product. I think some of our customers would be irritated by the necessity to reboot twice (we already require a reboot at the end of our product install). Any information appreciated, thanks.
... View more
Labels
- Labels:
-
InstallShield 2009
Jul 17, 2008
02:04 PM
Just want to post a quick tip that may prove beneficial to other users, regarding Automation for InstallShield 2009. Inside my old InstallShield 2008 projects I have some Visual Basic script which specifies "IswiAuto14.ISWiProject" to create an instance of the InstallShield COM object: Dim pInstaller Set pInstaller = CreateObject("IswiAuto14.ISWiProject") Please note that the string passed to CreateObject( ) must be changed to "IswiAuto15.ISWiProject" for InstallShield 2009.
... View more
Labels
- Labels:
-
InstallShield 2009
Jun 26, 2008
12:40 PM
Will do ... thanks for the clarification!:)
... View more
Jun 25, 2008
10:14 AM
Thanks, but I'm not using custom actions -- just InstallScript. Call me old-fashioned.:o
... View more
Jun 24, 2008
01:42 PM
Given: InstallScript MSI project, InstallShield 2008 version, doing a major upgrade. Question: How and where may I program a pause AFTER InstallShield automatically uninstalls the old version of my product, but BEFORE it begins to install the new version? I'd like to use this pause (maybe a temporary MessageBox) to examine the old product directories to make sure all old files were uninstalled by the major upgrade process. Is there some event I can catch, similar to OnFirstUIBefore ... something like OnUninstallOldVersion or OnMajorUpgrade ?? Thanks for any ideas.
... View more
Labels
- Labels:
-
InstallShield 2008
Jun 03, 2008
01:46 PM
I'm still having this problem. I install only three (count them, three) files. Whenever I uninstall the product it takes two full minutes while I see "removing backup files", during which time the processor is pegged at 100%. It's true that I'm also installing .Net framework 3.5, but it is not uninstalling the framework upon uninstall (and that's the behavior I want). So I can't figure out what the delay is. Any ideas, anyone? By the way, I'm now using InstallShield 2008.
... View more
Jan 26, 2008
01:19 PM
Here's a code snippet that will initially select one checkbox, but not the other. You would put this code inside the while loop of the EzDefineDialog( ) function. Use InstallShield help to find out more about EzDefineDialog( ) if necessary. // This is the case statement for dialog initialization case DLG_INIT: // initially check CheckBox1 // "nickname" is just your dialog's nickname set with EzDefineDialog CtrlSetState("nickname", CheckBox1, BUTTON_CHECKED); // initially un-check CheckBox2 CtrlSetState("nickname", CheckBox2, BUTTON_UNCHECKED);
... View more
Jan 24, 2008
03:35 PM
When uninstalling an Installscript MSI project, I encounter a very long delay (about 90 seconds to 2 minutes) on the dialog that says "removing backup files". If I wait it will finish normally, but it's a hassle. I just noticed this today with a new project I created; no problems before now with other projects. I have not applied patches to InstallShield 12, or the operating system (XP Pro). I'm logging on as the same user with the same privileges. This happens on at least two computers. Any idea what's going on?
... View more
Labels
- Labels:
-
InstallShield 2008
- « Previous
- Next »
Latest posts by Shuttledude
Subject | Views | Posted |
---|---|---|
1128 | Oct 15, 2015 12:18 PM | |
1128 | Oct 15, 2015 10:38 AM | |
737 | Jan 03, 2014 11:18 AM | |
1337 | Jan 03, 2014 11:04 AM | |
1006 | Nov 22, 2013 03:27 PM | |
1006 | Nov 22, 2013 01:43 PM | |
5543 | Nov 22, 2013 09:53 AM | |
873 | Sep 13, 2013 08:27 AM | |
638 | Jul 15, 2013 12:30 PM | |
2951 | Jun 28, 2013 12:49 PM |
Activity Feed
- Posted Re: Automated but visible uninstall of InstallScriptMSI possible? on InstallShield Forum. Oct 15, 2015 12:18 PM
- Posted Just converted to basic msi on InstallShield Forum. Oct 15, 2015 10:38 AM
- Posted Re: Switching from Installscript installs to Installshield Basic MSI package installs on InstallShield Forum. Jan 03, 2014 11:18 AM
- Posted Billboards in Suite projects on InstallShield Forum. Jan 03, 2014 11:04 AM
- Posted Thanks! on InstallShield Forum. Nov 22, 2013 03:27 PM
- Posted Looks OK so far on InstallShield Forum. Nov 22, 2013 01:43 PM
- Posted Does InstallShield 2013 Premier integrate with Visual Studio 2013? on InstallShield Forum. Nov 22, 2013 09:53 AM
- Posted Re: Merge Module locations on InstallShield Forum. Sep 13, 2013 08:27 AM
- Posted Re: Dynamic file linking + dlls registration on InstallShield Forum. Jul 15, 2013 12:30 PM
- Posted Automated but visible uninstall of InstallScriptMSI possible? on InstallShield Forum. Jun 28, 2013 12:49 PM
- Posted Re: Trying to build *.issuite project as part of a Visual Studio 2012 solution (*.sln) on InstallShield Forum. Jun 21, 2013 01:20 PM
- Posted Trying to build *.issuite project as part of a Visual Studio 2012 solution (*.sln) on InstallShield Forum. Jun 20, 2013 11:07 AM
- Posted Re: Merge Modules Download on InstallShield Forum. Jun 06, 2013 12:46 PM
- Posted Which redistributable must I install to get MFC71, CRT71, STL71? on InstallShield Forum. Mar 07, 2013 03:22 PM
- Posted Re: TFS and Automated Build on InstallShield Forum. Mar 05, 2013 08:53 AM
- Posted Re: TFS and Automated Build on InstallShield Forum. Mar 04, 2013 03:07 PM
- Posted Re: How to add Custom window in install shield professional edition on InstallShield Forum. Feb 19, 2013 08:42 AM
- Posted Re: How to add Custom window in install shield professional edition on InstallShield Forum. Feb 18, 2013 03:48 PM
- Posted Re: Fatal error -5056 when building IS project via VS2012 using Team Foundation build on InstallShield Forum. Feb 18, 2013 03:40 PM
- Posted Re: IE Shortcuts for all :-) on InstallShield Forum. Feb 05, 2013 12:38 PM