Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

AdminInst and incremental Patch


9 replies to this topic

Johannes John

Johannes John
  • Full Members
  • 223 posts

Posted 15 November 2005 - 15:55

Hello,

I've created a patch:
- with ISWI 1.5 ( I don't think that this is the problem )
- with major as with minor upgrade
- and patch/incremental

I started the patch on MSI 3.1 as on MSI 2.0 with
msiexec /p xxx.msp /a xxx.msi
and got during runtime an error 1336
"There was an error creating a temporary file that is needed to complete this installation. Folder: [3]. System error code: [2]"

I detected, that this problem only occured on network drives.
On a local drive, this error didn't occure.

But in most cases, admin installations are on network drives.

After some successles tries, I found out, that the "incremental" is the problem.

I created the patch with "use entire file" ( with the respective result ) and no error occured at runtime.

Does someone has the same problem?
Does a new MsiMsp.exe solve this problem?

Thanks in advance!
Johannes


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 November 2005 - 18:07

I think the "incremental" means that only the changed bits of the file will be modified. maybe the network drive doesn't allow modification inside the file (virus protection?) or it doesn't have room (or you don't have the permissions) to create a temporary copy of the file to be patched. Maybe it tries to put that temp copy in the root of the drive. In the error message (or in the log) you should see the directory name and the error code, for placeholders [2] and [3] of the message.

Johannes John

Johannes John
  • Full Members
  • 223 posts

Posted 16 November 2005 - 09:14

Hello Stefan, thanks for your answere:

maybe the network drive doesn't allow modification inside the file (virus protection?)
If I'm right, the MSI file will be changed ( in the case of entire files ) and that works on this drive.

or it doesn't have room (or you don't have the permissions) to create a temporary copy of the file
That's our temp drive ( mapped to X:) (100 GB free space) ( permissions: create, modify, delete folders and files, in the root directory too) and the patch with entire files needs more temporary diskspace.

The message points to the correct folder and the error code is 1336.

Regards!
Johannes

Edited by Johannes John, 16 November 2005 - 09:15.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 November 2005 - 18:19

1336 indicates that there's an error in the structure of the ACL. Maybe you can find more information on MSDN.
Note that this part of the install may be ruinning in the System account.

Johannes John

Johannes John
  • Full Members
  • 223 posts

Posted 17 November 2005 - 15:38

I couldn't find more information on MSDN or internet.

Do you mean the ruining in conjuction with this error?
Or is the admininst patch itself the problem?
What will be damaged in the System account?

Regards!

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 November 2005 - 23:02

Sorry, that was a typo. Should be "running" instead of "ruining". Part of the installation runs in the System, not the user account. Thus network drives may not be mapped or System may not have the required rights.

Johannes John

Johannes John
  • Full Members
  • 223 posts

Posted 18 November 2005 - 11:48

Ok,

but the problem remains:
What's different between a patch with incremental files or with entire files?
( both patches are Administrativ Patches)

Regards

Johannes John

Johannes John
  • Full Members
  • 223 posts

Posted 18 November 2005 - 11:50

Other problem:

What's the problem with major upgrade patches?
Where's the problem?
Which problems occure?

Regards!

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 November 2005 - 17:40

An incremental patch may require access to the original instalaltion media.

Johannes John

Johannes John
  • Full Members
  • 223 posts

Posted 21 November 2005 - 16:54

I can confirm this fact.
It's not only the incremental patch.

It's the patch with entire files too.

All CAs that will be run at uninstallation will be started from the previous MSI file.
Can't the WindowsInstaller save the MSI file in the Installer directory itself.

Thanks
Johannes