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
- :
- shortcuts issue
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
‎May 04, 2011
03:21 PM
Uninstall remove everything but shortcuts
How do you get the uninstall to remove shortcuts? It removes the rest of the installation files just fine.
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 05, 2011
05:14 AM
Try to use a CustumAction to remove the shortcut folder if install shield is not taking care of it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2011
05:55 AM
Hi,
May I know how u have created shortcuts.right now I am working on those....I have written a script to add my app to startup folder and remove the app at uninstallation time also.
May I know how u have created shortcuts.right now I am working on those....I have written a script to add my app to startup folder and remove the app at uninstallation time also.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2011
07:18 AM
I would advise you to check if you have declared the component consisting the file (to whom your shortcut is pointing to) as SHARED. You can verify that by looking under Components View. Declaring a component SHARED will leave it's key file at the system even after uninstall and if the file is still there, corresponding shortcut will not be removed.
In short, make all the components as NOT-SHARED if no other application is sharing that component. By default it comes as SHARED in IS2011.
Let us know if this works, good luck. 🙂
In short, make all the components as NOT-SHARED if no other application is sharing that component. By default it comes as SHARED in IS2011.
Let us know if this works, good luck. 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2011
04:13 PM
The project I'm working on was created by importing an already existing msi installer that I inherited, it seems it is full of problems, so instead of trying to make that one work I'm creating a new installer from scratch. The one I made does remove the shortcuts correctly. Thanks for your help!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2011
04:24 PM
LeoSun wrote:
Hi,
May I know how u have created shortcuts.right now I am working on those....I have written a script to add my app to startup folder and remove the app at uninstallation time also.
To create the shortcuts, I just used the project assistant. I'm working on a basic MSI project. all you have to do is click the check mark that says create shortcut in Start Menu and create shortcut on Desktop. InstallShield takes care of the rest.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2011
12:58 PM
electrobins wrote:
I would advise you to check if you have declared the component consisting the file (to whom your shortcut is pointing to) as SHARED. You can verify that by looking under Components View. Declaring a component SHARED will leave it's key file at the system even after uninstall and if the file is still there, corresponding shortcut will not be removed.
In short, make all the components as NOT-SHARED if no other application is sharing that component. By default it comes as SHARED in IS2011.
Let us know if this works, good luck. 🙂
I decided to try what you suggested. I marked everything as not shared, but I the shortcuts are still not being removed. Any other thoughts?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2011
02:18 AM
You will have to remove that shortcut once manually and then install & uninstall after making these components NOT SHARED. Existing shortcut you see are left from the last installer.
danwize wrote:
I decided to try what you suggested. I marked everything as not shared, but I the shortcuts are still not being removed. Any other thoughts?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2011
01:00 AM
Hello,
I am working with InstallShield 2011Premier Edition creating two different installers. My problem is that the Shortcuts are not removed when I install both applications.
1. I already checked that my components are not shared.
2. I checked in the Icon table and the names are ok. It looks like this.
Name: Shortcut1_5ECBEE5FE6644F6CB3793D7B12D482BC.exe
Data: [Binary Data]
SourcePath:\programfiles\A.ICO
IconIndex: 0
3. In the Shortcut table the things look like this.
Shortcut: NewShortcut1
Directory:Shortcuts
Name: ~1|A
Component: Files
Target: [INSTALLDIR]A.exe
Arguments:
Description: A
Icon:NewShortcut1_5ECBEE5FE6644F6CB3793D7B12D482BC.exe
IconIndex:0
ShowCmd:3
WkDir:INSTALLDIR
4. Maybe to force it to be removed, I add the entries in the RemoveFile table.
FileKey: NewShortcut1
Component:Files
FileName:
DirProperty:Shortcuts
InsdtallMode:2
If I install just A the shortcuts and files are removed OK. But if I install A then B(which is another software built in InstallShield as well) and then removed just A the shortcuts remian :S. Any suggestion to solve my problem?? I would really appreciate it.
I am working with InstallShield 2011Premier Edition creating two different installers. My problem is that the Shortcuts are not removed when I install both applications.
1. I already checked that my components are not shared.
2. I checked in the Icon table and the names are ok. It looks like this.
Name: Shortcut1_5ECBEE5FE6644F6CB3793D7B12D482BC.exe
Data: [Binary Data]
SourcePath:
IconIndex: 0
3. In the Shortcut table the things look like this.
Shortcut: NewShortcut1
Directory:Shortcuts
Name: ~1|A
Component: Files
Target: [INSTALLDIR]A.exe
Arguments:
Description: A
Icon:NewShortcut1_5ECBEE5FE6644F6CB3793D7B12D482BC.exe
IconIndex:0
ShowCmd:3
WkDir:INSTALLDIR
4. Maybe to force it to be removed, I add the entries in the RemoveFile table.
FileKey: NewShortcut1
Component:Files
FileName:
DirProperty:Shortcuts
InsdtallMode:2
If I install just A the shortcuts and files are removed OK. But if I install A then B(which is another software built in InstallShield as well) and then removed just A the shortcuts remian :S. Any suggestion to solve my problem?? I would really appreciate it.