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
- :
- Renaming or deleting MSI file gives errors
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
Aug 03, 2011
08:08 AM
Renaming or deleting MSI file gives errors
Hi,
I have stored XXX.msi of my project in folder "c:\vikas". After installation if I remove/rename the same 'MSI' then at the time of Uninstall it gives error - "The feature you are trying to use is on a network resource that is unavailable.".
As per my understanding the MSI is required for uninstall and repairing, but it is cached by Windows Installer in "c:\windows\Installer". But I didn't get why it is asking for original MSI. Also if I delete any of DLLs installed in project installation folder, I get a popup asking for "c:\vikas\XXX.msi" when that DLL is required.
Please let me know if I have misunderstood something. :confused:
Does original MSI is required or Windows installer's cached MSI is sufficient for uninstall/repair?
Thanks,
Vikas Sonar
I have stored XXX.msi of my project in folder "c:\vikas". After installation if I remove/rename the same 'MSI' then at the time of Uninstall it gives error - "The feature you are trying to use is on a network resource that is unavailable.".
As per my understanding the MSI is required for uninstall and repairing, but it is cached by Windows Installer in "c:\windows\Installer". But I didn't get why it is asking for original MSI. Also if I delete any of DLLs installed in project installation folder, I get a popup asking for "c:\vikas\XXX.msi" when that DLL is required.
Please let me know if I have misunderstood something. :confused:
Does original MSI is required or Windows installer's cached MSI is sufficient for uninstall/repair?
Thanks,
Vikas Sonar
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 04, 2011
12:41 AM
The msi file is certainly stored but the cab files are never. So during a repair, it searches for the source files.
Just think about how the installer asked you for "c:\vikas\XXX.msi" and nothing else. By default, the Installer engine takes the installation media path and writes it down in the registry. There is a SOURCELIST property where you can add source paths. During repair, it searches for msi at the locations resolved by SOURCELIST property. If not found, it pops up the message.
For some more info read this and see if it helps:
http://blogs.msdn.com/b/heaths/archive/2007/10/25/resolvesource-requires-source.aspx
Also if I delete any of DLLs installed in project installation folder, I get a popup asking for "c:\vikas\XXX.msi" when that DLL is required.
Just think about how the installer asked you for "c:\vikas\XXX.msi" and nothing else. By default, the Installer engine takes the installation media path and writes it down in the registry. There is a SOURCELIST property where you can add source paths. During repair, it searches for msi at the locations resolved by SOURCELIST property. If not found, it pops up the message.
For some more info read this and see if it helps:
http://blogs.msdn.com/b/heaths/archive/2007/10/25/resolvesource-requires-source.aspx