Hi all,
we're using WiX (using PCP-Files, pyro isn't possible because the resulting .msp-files are significant smaller and applying them never worked) to create patches for our application. When applying a patch, we're encountering sporadic patch problems with ErrorCode 1321 (No permission to change the file x [the failed file changes every time]). The error is mostly gone when trying to apply the patch a 2nd time (???). What can I do to prevent this issue? (It doesn't look professional, when 1 of every 100th patch attempt is failing) PatchLog Snippet: MSI (s) (9C:50) [13:09:16:401]: Executing op: PatchApply(PatchName=App1.exe,TargetName=C:\Program Files (x86)\Application Folder\App1.exe,PatchSize=55613,TargetSize=596736,PerTick=0,,FileAttributes= 512,PatchAttributes=0,CheckCRC=0) MSI (s) (9C:50) [13:09:16:401]: Re-applying security from existing file. MSI (s) (9C:50) [13:09:16:404]: Note: 1: 2318 2: C:\Config.Msi\PFCBF2.tmp MSI (s) (9C:50) [13:09:16:407]: Note: 1: 2302 2: 0 MSI (s) (9C:50) [13:09:16:414]: Note: 1: 2302 2: 32768 MSI (s) (9C:50) [13:09:16:416]: Note: 1: 2302 2: 327680 MSI (s) (9C:50) [13:09:16:421]: Verifying accessibility of file: App1.exe MSI (s) (9C:50) [13:09:16:425]: Verifying accessibility of file: App1.exe MSI (s) (9C:50) [13:09:16:425]: Note: 1: 2318 2: C:\Program Files (x86)\Application Folder\App1.exe MSI (s) (9C:50) [13:09:16:443]: Verifying accessibility of file: App1.exe MSI (s) (9C:50) [13:09:16:443]: Note: 1: 2318 2: C:\Program Files (x86)\Application Folder\App1.exe MSI (s) (9C:50) [13:09:16:443]: Note: 1: 1321 2: C:\Program Files (x86)\Application Folder\App1.exe MSI (s) (9C:50) [13:09:16:444]: Note: 1: 2205 2: 3: Error MSI (s) (9C:50) [13:09:16:444]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1321 MSI (s) (9C:50) [13:09:26:542]: Note: 1: 2205 2: 3: Error MSI (s) (9C:50) [13:09:26:542]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (9C:50) [13:09:26:542]: Produkt: Application Folder -- Fehler 1321. Das Installationsprogramm besitzt keine ausreichenden Berechtigungen, um diese Datei zu ändern: C:\Program Files (x86)\Application Folder\App1.exe. Regards, Alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users