Feb 14, 2013
10:23 AM
We have a simple setup program that can install the program for the current user or machine. If they don't have admin rights, it's installed for the current user. If they have admin rights, they have the option to install for the machine or just themself. Based on their selection, our settings go into the HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. WE use the HKEY_USER_SELECTABLE feature in IS to handle this automatically. That's great! However, we are running into a problem when people uninstall the program. Apparently, users (non-admin) can uninstall the program since it appears on their list of programs to add/remove. When they uninstall, the registry items in the HKEY_LOCAL_MACHINE registry can't be deleted because they don't have edit rights. 1. Is there a property we can set so that when it's installed for the machine, Admin rights are required to uninstall and non-Admin users never have see the program to uninstall? 2. Our setup program can detect if it's already installed on the machine or user. Is there a place in the script where we can check this when they try to uninstall with insufficient rights and stop them? If so, how? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2010
Dec 05, 2012
10:46 AM
Thanks for your help. I'm using Installscript. The program uses code to create a shortcut that has the version number as one of it's command line parameters. I need to change that if an update is installed but I can't seem to find the event to interject that change during an update.
... View more
Nov 30, 2012
10:26 PM
Is there a list of events and when and what order they are triggered? In particular, I'm interested in knowing when the setup is running in update mode (how can I tell?) so I can make some registry changes but I can't tell what events to add those adjustments.
... View more
Labels
- Labels:
-
InstallShield 2010
Nov 29, 2012
09:45 AM
That link doesn't exist.
... View more
Oct 22, 2012
10:28 AM
DemonPiggies, Thank you for your reply. I understand the ability to create two components to handle the 32 and 64 bit options. I've done that and made the second component 64-bit so that it's installed properly. What I'm trying to do is reduce the number of components so that I can more easily manage them over time. I'm already using the HKEY_USER_SELECTABLE branch to support the user's ability to install on either the USER or MACHINE branches of the registry. By having two components, I run the risk they get out of sync. I think I can resolve this if I can change the status of the component from 32 to 64 bit programmatically in the script. Any suggestions how to do so?
... View more
Oct 15, 2012
09:10 AM
I have a component I created for registry settings. It has its regstry settings in the HKEY_USER_SELECTABLE section so it can be installed for the user or machine. For machine installations on the 64-bit platform, it needs to be put in the root registry rather than the WOW3264Node. I learned I could change the registry component to a 64-bit component and that works. However, it then becomes a 64-bit components for the 32-bit build (setup). Is there a way to have the same component as 32 in one setup and 64 in another? Otherwise, I have to create two different components and manually keep them in sync forever.
... View more
Labels
- Labels:
-
InstallShield 2010
May 15, 2012
07:10 PM
Yes, I know the version number I want but how do I find the location of the file and get that value from within the InstallShield script I write?
... View more
May 15, 2012
10:20 AM
I had a similar problem that was driving me crazy. A build that was working previously, all of a sudden kept failing with this error. I resolved it by rebooting the machine. The problem went away after that.
... View more
May 15, 2012
09:47 AM
I need to create a setup program that verifies the user has the latest version of their Office product (Access and Excel) installed on their machine and prompt them if they don't. For instance, Office 2007 has SP2. We've had some users get new machines and try to install our program and crashed because we weren't expecting them to have the original Office 2007 installed. A quick check in our setup program would tell them to update their version before installing ours. Thanks in advance.
... View more
Labels
- Labels:
-
InstallShield 2010
Sep 11, 2011
01:33 PM
I think I've figured this out but would like confirmation. I didn't even know this existed but each Organization, Component has a Component Code GUID. Because I copied an ISM file from one product setup to another, and edited some of the components without creating them from scratch, it kept the same GUID for the component. After installing the two products, and uninstalling the second one, the shared Component GUIDs of the second product are not removed. I found that if I didn't assign any GUID to the component, it caused other problems (like it wouldn't uninstall at all). When copying an ISM file from one product to another, is there a way to make sure all the GUIDs are modified? I realize I can change the product and upgrade GUIDs. I presumed everything else would be product specific but these Component GUIDs that go across ISM files was a surprise. Are there other GUID surprises?
... View more
Jul 30, 2011
04:46 PM
Hi MSIYER, Thanks for your response. I've been away from this project for a bit but I'm back and still having problems with having the registry get deleted during an uninstall. I'm afraid I don't understand your suggestions: 1. How do I make the registry key value the key path? 2. Where do I find the Uninstall log? 3. What is the Process Monitor? Is that a Windows program or parto of IS? Thanks.
... View more
Jul 17, 2011
11:38 PM
No, it's not VSTO. It was much simpler. Just another Excel spreadsheet (*.XLAM file).
... View more
Jul 14, 2011
11:54 AM
I'm interested in distributing an Excel add-in. I see it involves adding an entry to the registry under: HKCU/software/Microsoft/Office/14.0/Excel/Options The entry is under OPEN, OPEN1, OPEN2, etc. depending on the other add-ins that are active. So I have a few questions: 1. I presume IS can't handle this without writing scripts. If there's a way to do this from the REGISTRY settings, that'd be great. How? 2. Programmatically, how do I determine and specify which OPEN entry to create? 3. How do I handle uninstall? The entry could change depending on the user adding or removing add-ins between when it's installed and uninstalled. What event should I use to detect and uninstall? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2010
Jul 09, 2011
12:26 PM
I set it to NO and it doesn't seem to make a difference. I've simplified this so that the component is just the registry entry with no actual files being installed, so the SharedDLLs aren't even part of it. I'm at a loss.
... View more
Jul 09, 2011
07:24 AM
Shared: Yes Permanent: No Should Shared be set to No so that it's always deleted? Never looked at these settings before.
... View more
Latest posts by DataAnalyzer
Subject | Views | Posted |
---|---|---|
197 | Sep 30, 2022 12:50 PM | |
205 | Jun 16, 2022 03:09 PM | |
335 | Jun 15, 2022 04:28 PM | |
261 | Apr 15, 2022 01:28 PM | |
284 | Mar 25, 2021 04:30 PM | |
289 | Mar 11, 2021 03:59 PM | |
3050 | Sep 27, 2018 12:17 AM | |
3050 | Sep 26, 2018 09:38 AM | |
3050 | Sep 25, 2018 01:05 PM | |
4218 | Sep 24, 2018 07:00 PM |
Activity Feed
- Posted Setting Always Overwrite for our files in INSTALLDIR on InstallShield Forum. Sep 30, 2022 12:50 PM
- Posted Re: Registry Branch Defined in Code on InstallShield Forum. Jun 16, 2022 03:09 PM
- Posted Re: Catch upgrade in installscript? on InstallShield Forum. Jun 15, 2022 04:28 PM
- Kudoed Re: Catch upgrade in installscript? for epotter. Jun 15, 2022 04:26 PM
- Posted Re: SignTool Error on InstallShield Forum. Apr 15, 2022 01:28 PM
- Posted For Upgrade, Need to Verify the User is Still Valid; Can't Debug on InstallShield Forum. Mar 25, 2021 04:30 PM
- Tagged For Upgrade, Need to Verify the User is Still Valid; Can't Debug on InstallShield Forum. Mar 25, 2021 04:30 PM
- Tagged For Upgrade, Need to Verify the User is Still Valid; Can't Debug on InstallShield Forum. Mar 25, 2021 04:30 PM
- Posted How can I require Administrator and still install for the user? on InstallShield Forum. Mar 11, 2021 03:59 PM
- Tagged How can I require Administrator and still install for the user? on InstallShield Forum. Mar 11, 2021 03:59 PM
- Tagged How can I require Administrator and still install for the user? on InstallShield Forum. Mar 11, 2021 03:59 PM
- Posted Re: Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 27, 2018 12:17 AM
- Posted Re: Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 26, 2018 09:38 AM
- Posted Re: Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 25, 2018 01:05 PM
- Posted Re: Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 24, 2018 07:00 PM
- Posted Re: Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 24, 2018 03:07 PM
- Posted Re: Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 24, 2018 01:36 PM
- Posted Re: Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 22, 2018 05:09 PM
- Posted Upgrading a Product with a New Product Name Fails on InstallShield Forum. Sep 21, 2018 02:09 PM
- Posted Re: OnFirstUIAfter Program Launch Triggers ActiveX component can't create object (429) on InstallShield Forum. Sep 10, 2018 09:11 AM