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
- :
- Object not getting uninstalled
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
‎Jun 19, 2007
01:19 PM
Object not getting uninstalled
I am using Install Script project in IS 2008.
In my installation i am installing two objects by default.
While installation goes fine while uninstalling folder created by one object and files within are not getting uninstalled. There is no error during uninstallation.
what could be wrong?
Thanks for any help.
In my installation i am installing two objects by default.
While installation goes fine while uninstalling folder created by one object and files within are not getting uninstalled. There is no error during uninstallation.
what could be wrong?
Thanks for any help.
(14) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
02:41 PM
Do the files get installed directly by the object, or does the object launch another install? If they are installed by the object, are the files marked as permanent in the object?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
03:18 PM
File is directly getting installed by the object itself....I have similar object which uninstalls perfectly.
Thanks
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
03:20 PM
Sorry for the negligence.
Object just copies files to directory and launches batch file from there..thats it.
Thanks
Object just copies files to directory and launches batch file from there..thats it.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
03:56 PM
So the files are getting installed as part of a component. Does the component that installs the files have the shared property set to Yes, or the Uninstall property set to No?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
04:10 PM
I am installing objects irrespective of the componenet..I mean objects are getting installed all the time for every installation. Component has no relation with the object that i am installing. Component has different set of files.
Uninstall property of the component is set to Yes and shared to NO for all components. I just have default component in my setup.
Initially when i was using just 1 object uninstallation was working correctly, when i added another object ; this new object is not getting uninstalled at all.
Thanks for your reply.
Uninstall property of the component is set to Yes and shared to NO for all components. I just have default component in my setup.
Initially when i was using just 1 object uninstallation was working correctly, when i added another object ; this new object is not getting uninstalled at all.
Thanks for your reply.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
04:13 PM
I was referring to the properties for the components within the object's project, not the components for the install that houses the objects.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
04:25 PM
Yes it worked 🙂 but the installLog file seem to be in root folder of my installation. How to remove this?
Thanks a lot.
Thanks a lot.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
04:46 PM
I'm not sure I understand. What worked for you? What is creating the install log?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
04:59 PM
I set the shared property to NO for my components and now it is uninstalling correctly.
After uninstalling InstallLog file is created in my installation target folder. Its contents are as follows:
Uninstalling assembly 'C:\x\y\z.zzzzz.exe'.
Affected parameters are:
assemblypath = C:\x\y\z.zzzzz.exe
=
logfile = C:\x\y\z.zzzzz.InstallLog
Removing EventLog source x Console Service.
Warning: The source x Console Service is not registered on the local machine.
Service x Console Service is being removed from the system...
An exception occurred during the uninstallation of the System.ServiceProcess.ServiceInstaller installer.
System.ComponentModel.Win32Exception: The specified service does not exist as an installed service
An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
What is causing exception mention in this file? ANd how can i remove this file during uninstallation?
Thanks.
After uninstalling InstallLog file is created in my installation target folder. Its contents are as follows:
Uninstalling assembly 'C:\x\y\z.zzzzz.exe'.
Affected parameters are:
assemblypath = C:\x\y\z.zzzzz.exe
=
logfile = C:\x\y\z.zzzzz.InstallLog
Removing EventLog source x Console Service.
Warning: The source x Console Service is not registered on the local machine.
Service x Console Service is being removed from the system...
An exception occurred during the uninstallation of the System.ServiceProcess.ServiceInstaller installer.
System.ComponentModel.Win32Exception: The specified service does not exist as an installed service
An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
What is causing exception mention in this file? ANd how can i remove this file during uninstallation?
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2007
08:14 PM
What objects and\or third party installers are you including with your install?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2007
10:16 AM
I am installing driver files in an object. so i have two objects for 2 types device drivers.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2007
12:32 PM
Something in your install is creating this log, but its not possible to tell what without looking at the projects. My guess would be that you are shelling out to someone elses install or using the Merge Module Wrapper object in your install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2007
12:55 PM
I am not using any merge module...uninstallation was working fine until i added another object to the project. This object is very simple. Strange thing is whatever file name that is there in log is in my main project and not related to the object at all.
What else you could thing go wrong? I tried redesigning object but didnt help...
in the worst case i would like to remove that file manually from the folder..how would i do that? because of this single file my root installtion folder is not getting uninstalled.
Thanks
What else you could thing go wrong? I tried redesigning object but didnt help...
in the worst case i would like to remove that file manually from the folder..how would i do that? because of this single file my root installtion folder is not getting uninstalled.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2007
01:20 PM
I have created setup such a that if it is already installed on the system then it will first uninstall it and then install it in single step otherwise it proceeds with normal installation.
There seems to be problem when i run uninstall by running setup again but when i run uninstall from add/remove program it uninstalls perfectly.
So it seems that it is generating log file only when i run my setup again on already installed system..but it vanishes as soon as application is reinstalled again.
My concern is if user cancels setup after uninstalltion is complete and before starting new installtion(i.e. automtically in one step), thi sis one step process in my setup) then this log file is visible to the user.
What can i do about it?
Thanks
There seems to be problem when i run uninstall by running setup again but when i run uninstall from add/remove program it uninstalls perfectly.
So it seems that it is generating log file only when i run my setup again on already installed system..but it vanishes as soon as application is reinstalled again.
My concern is if user cancels setup after uninstalltion is complete and before starting new installtion(i.e. automtically in one step), thi sis one step process in my setup) then this log file is visible to the user.
What can i do about it?
Thanks
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)