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
- :
- Re: Error 1316 on 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
‎Nov 05, 2007
03:36 PM
Error 1316 on uninstall.
On uninstall, i get a Network error occured while attempting to read from the file C:\Windows\Installer\MyProduct.msi. This is wierd because the cached msi in that directory is named 608e1.msi. Basically, every installation creates a randomly-names msi file in that location, but on uninstall, it looks for an msi with the actual productname.
Has anybody else had this problem?
Has anybody else had this problem?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2007
02:37 PM
I am also running into to this with a couple of installs (on both Vista and XP) that I am upgrading and that were built with IS 12.
On Vista, if I try to upgrade my product version 2.0.0199 to a new one with version 2.0.0205, I get the error 1316 (and Note 2203). I also see it sometimes on Windows XP. The error shows up as a popup dialog during the install and is seen in the logs
On Vista, I also see things like this in the install log, some (not all) of my Custom Actions:
InstallShield 13:46:04: Invoking script function MyOnMoving
1: SETUP: MyOnMoving
1: SETUP: MyDeleteModifiedFiles
InstallShield 13:46:04: CallScriptFunctionFromMsiCA() ends
MSI (s) (30:1C) [13:46:04:962]: NOTE: custom action MyOnMoving unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
MSI (s) (30:E8) [13:46:04:963]: Executing op: ActionStart(Name=ProcessComponents,Description=Updating component registration,)
Action 13:46:04: ProcessComponents. Updating component registration
MSI (s) (30:E8) [13:46:04:965]: Executing op: ProgressTotal(Total=52,Type=1,ByteEquivalent=24000)
I have attached the logs.
-Walter
On Vista, if I try to upgrade my product version 2.0.0199 to a new one with version 2.0.0205, I get the error 1316 (and Note 2203). I also see it sometimes on Windows XP. The error shows up as a popup dialog during the install and is seen in the logs
On Vista, I also see things like this in the install log, some (not all) of my Custom Actions:
InstallShield 13:46:04: Invoking script function MyOnMoving
1: SETUP: MyOnMoving
1: SETUP: MyDeleteModifiedFiles
InstallShield 13:46:04: CallScriptFunctionFromMsiCA() ends
MSI (s) (30:1C) [13:46:04:962]: NOTE: custom action MyOnMoving unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
MSI (s) (30:E8) [13:46:04:963]: Executing op: ActionStart(Name=ProcessComponents,Description=Updating component registration,)
Action 13:46:04: ProcessComponents. Updating component registration
MSI (s) (30:E8) [13:46:04:965]: Executing op: ProgressTotal(Total=52,Type=1,ByteEquivalent=24000)
I have attached the logs.
-Walter
Kelter wrote:
On uninstall, i get a Network error occured while attempting to read from the file C:\Windows\Installer\MyProduct.msi. This is wierd because the cached msi in that directory is named 608e1.msi. Basically, every installation creates a randomly-names msi file in that location, but on uninstall, it looks for an msi with the actual productname.
Has anybody else had this problem?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2007
02:53 PM
A random name for the MSI file is expected for all MSI packages stored in C:\Windows\Installer. This is a cached MSI package that Windows Installer uses to perform any maintenance operations that do not require access to the original source MSI package.
A 1316 error should not be occurring during an uninstall as the Windows Installer does not typically look for the original MSI package. Can you attach a verbose log of the uninstall?
For upgrades, specifically for small updates and minor upgrades, the name of the MSI package needs to be the same as the base install MSI package filename. If the name changes in one of these upgrades, a 1316 error will occur. If the MSI filename needs to be changed, a major upgrade must be performed (see http://msdn2.microsoft.com/en-us/library/aa367850.aspx).
A 1316 error should not be occurring during an uninstall as the Windows Installer does not typically look for the original MSI package. Can you attach a verbose log of the uninstall?
For upgrades, specifically for small updates and minor upgrades, the name of the MSI package needs to be the same as the base install MSI package filename. If the name changes in one of these upgrades, a 1316 error will occur. If the MSI filename needs to be changed, a major upgrade must be performed (see http://msdn2.microsoft.com/en-us/library/aa367850.aspx).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2007
03:03 PM
i apologize for not posting my findings earlier...this had something to do with the ALLUSERS bug in IS2008. I eventaully found the hotfix and applied it as instructed, but later discovered the the dir structure in the .zip file was srong and my patch only pretended to get installed. The hotfix appeared in teh About... dialog but not all of the files were overwritten appropriately. See
http://community.macrovision.com/showthread.php?t=172412
for more details...
Based on some conditions out of my control, the ALLUSERS property was giving the install inconsistent locations from which to initialize itself. Grr. Should have just called support.
http://community.macrovision.com/showthread.php?t=172412
for more details...
Based on some conditions out of my control, the ALLUSERS property was giving the install inconsistent locations from which to initialize itself. Grr. Should have just called support.
![](/skins/images/089A6DFE1F4989CB8CCC689A38D62C96/responsive_peak/images/icon_anonymous_message.png)