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
- :
- InstallShield 2009 Premier can't delete file from System32 during uninstall
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
‎Apr 09, 2009
06:26 AM
InstallShield 2009 Premier can't delete file from System32 during uninstall
InstallShield 2009 Premier: During installation all the files are copied fine, some of them are copied in system32 directory(two dll and one exe). But during uninstall it deletes every file but not any in system32!!! Please note, it can also delete file(.sys) from system32/drivers directory.
There are also some files I need to delete which are not part of the components. How? I tried with entry in RemoveFile and failed.
There are also some files I need to delete which are not part of the components. How? I tried with entry in RemoveFile and failed.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2009
09:23 AM
Assuming you're using an MSI project, ICE09 requires components being installed to SystemFolder to be marked as permanent, and so MSI might be enforcing this. The idea being that if something is important enough to go into the System folder, it's important enough to stay there forever; otherwise it should go in a company-specific Common Files subdirectory.
As for the RemoveFile issue, perhaps post your RemoveFile settings...
As for the RemoveFile issue, perhaps post your RemoveFile settings...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2009
07:21 PM
Use a log to see if it might help...
msiexec/x {Package | ProductCode}
Parameters
/x
uninstalls a product.
Package
Name of the Windows Installer package file.
ProductCode
Globally unique identifier (GUID) of the Windows Installer package.
Remarks
Windows Installer command-line options are not case-sensitive.
For more information about the Windows Installer command-line options, see Related Topics.
Examples
To remove or uninstall a package, type:
msiexec /x Example.msi /L*v "C:\UninstallLog.log"
msiexec/x {Package | ProductCode}
Parameters
/x
uninstalls a product.
Package
Name of the Windows Installer package file.
ProductCode
Globally unique identifier (GUID) of the Windows Installer package.
Remarks
Windows Installer command-line options are not case-sensitive.
For more information about the Windows Installer command-line options, see Related Topics.
Examples
To remove or uninstall a package, type:
msiexec /x Example.msi /L*v "C:\UninstallLog.log"
