Hello,

While doing the Post Installation Snapshot for a particular installation, the AppDeploy Repackager reliably crashes. The snapshot gets to "Written 1920 directory entries of 5793 total directory entries.", but then crashes with the following error...
[font="courier new"]Runtime Error!

Program: C:...

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


Windows then gives the following error...
[font="courier new"]Problem signature:
Problem Event Name: APPCRASH
Application Name: AppDeployRepackager.exe
Application Version: 1.2.0.5
Application Timestamp: 4b0c21fb
Fault Module Name: AppDeployRepackager.exe
Fault Module Version: 1.2.0.5
Fault Module Timestamp: 4b0c21fb
Exception Code: 40000015
Exception Offset: 000927ae
OS Version: 6.0.6002.2.2.0.256.1
Locale ID: 1033
Additional Information 1: 015b
Additional Information 2: 7ea418b92acdf05e0b9b55ab96ea750f
Additional Information 3: e97d
Additional Information 4: 9f800efd2ad03a1d5e178f7626ad9f01


The last several lines of ErrorLog.txt are...
[font="courier new"]02-Dec-2009 15:57:00 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:01 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:02 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File
02-Dec-2009 15:57:02 CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File


The rest of the log is full of "RegOpenKeyEx: Access Denied" and "CRegSnapshot::GetValues_Vect- GetValue: Unknown registry type 268435468" type errors. The ErrorLog.txt file is about 16.5MB.

I have tried using both the Beta2 and Beta3 versions of AppDeploy Repackager, and both fail the same way. The machine is a brand spankin' new install of Windows Vista (32-bit) on a VMware virtual machine, with SP1 & SP2 being the only things installed. The software I am trying (unsuccessfully) to repackage is Adobe CS4 Design Premium.

Any help would be greatly appreciated, as I'm unfortunatly on quite a time crunch to get this deployed.

Thank you for your support.
-= Brandon.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
"Adobe CS4 Design Premium" already comes as an MSI (well, it's more then one but anyway) so don't try to re-capture it.
Answered 12/03/2009 by: AngelD
Red Belt

Please log in to comment
0
Actually, CS4 does not include any MSI's. As a matter of fact, trying to deploy via GPO has been a nightmare for many (http://itninja.com/question/acrobat-6-reader-via-altiris05). Repackaging seemed like a good solution to the issue, I'm just hitting this snag here.

-= Brandon.
Answered 12/03/2009 by: stimpy2k
Senior Yellow Belt

Please log in to comment
0
Next time, read a bit more
http://www.appdeploy.com/messageboards/fb.asp?m=28736
Answered 12/03/2009 by: AngelD
Red Belt

Please log in to comment
0
I did read this post, as well as many others. [sarcasm]Though your arrogance is quite helpful[/sarcasm], perhaps you did not see that the link you posted pertains specifically to CS3, not CS4. You will also note that the instructions, even if they do also work for CS4, are quite a long/tedious process. A repackaging seems like it could be an appropriate route here, and one worth investigating.

Further, the intention here is not to debate with you the advantages/disadvantages of repackaging, but to point out a snag in the AppDeploy Repackager so that it might be addressed in a future release.

Thanks,
-= Brandon.
Answered 12/03/2009 by: stimpy2k
Senior Yellow Belt

Please log in to comment
0
The AppDeploy Repackager is a "simple" capturing tool and not intended for capturing MSI files.
Performing re-capture on Adobe products is event worse.

If you don't want to listen to the advices then have a safe journey on your mission.
Answered 12/03/2009 by: AngelD
Red Belt

Please log in to comment
0
Kim, I'm not quite sure what you mean when you say the tool is "not intended for capturing MSI files," as CS4 is not an MSI to begin with.

Anyway, I guess my ultimate goal was to communicate the error I received to Bob. Whether or not CS4 would have worked in the end, due to its complexities, is irrelevant. I just wanted to pitch in and pass along the error I received using the repackager, and pass along as much info as I could to try and help. Wasn't really interested in getting into a debate about repackaging.

-= Brandon.
Answered 12/03/2009 by: stimpy2k
Senior Yellow Belt

Please log in to comment
0
The setup.exe is just a wrapper for a whole lot of MSI files. I would be stunned if Adobe changed from managed to legacy installer but not surprised ;)

Okay, I'm not debating just trying to give you the general rule regarding a vendor package.

Providing the crash info is great, the more bugs that can be fixed the better.
My guessing is that it has a problem with handling such large amount of objects (directories).

What comes prior to the below log line?
CXMLDocumentHandler::InsertDirectoryAndFileInXML Unable to save XML File

Do you get an application dump file during the crash?
Answered 12/03/2009 by: AngelD
Red Belt

Please log in to comment
0
The several lines prior to the CXMLDocumentHandler error are...
03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\STORAGE\VolumeSnapshot\HarddiskVolumeSnapshot1\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\STORAGE\VolumeSnapshot\HarddiskVolumeSnapshot2\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\STORAGE\VolumeSnapshot\HarddiskVolumeSnapshot3\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{96e080c7-143c-11d1-b40f-00a0c9223196}\{3C0D501A-140B-11D1-B40F-00A0C9223196}\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{97ebaacc-95bd-11d0-a3ea-00a0c9223196}\{53172480-4791-11D0-A5D6-28DB04C10000}\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{cfd669f1-9bc2-11d0-8299-0000f822fe8a}\{0A4252A0-7E70-11D0-A5D6-28DB04C10000}\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{cfd669f1-9bc2-11d0-8299-0000f822fe8a}\{CF1DDA2C-9743-11D0-A3EE-00A0C9223196}\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{ddf4358e-bb2c-11d0-a42f-00a0c9223196}\{97EBAACB-95BD-11D0-A3EA-00A0C9223196}\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{eeab7790-c514-11d1-b42b-00805fc1270e}\asyncmac\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{eec12db6-ad9c-4168-8658-b03daef417fe}\{ABD61E00-9350-47e2-A632-4438B90C6641}\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\UMB\UMB\1&841921d&0&PrinterBusEnumerator\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\ROOT_HUB\5&391b2433&0\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\ROOT_HUB20\5&2648447&0\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0E0F&PID_0002\6&2ab01149&0&2\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0E0F&PID_0003\6&2ab01149&0&1\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0E0F&PID_0003&MI_00\7&38bade0a&0&0000\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0E0F&PID_0003&MI_01\7&38bade0a&0&0001\Properties: Error 5:

03-Dec-2009 13:31:55 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_USERS\.DEFAULT\Software\Microsoft\SystemCertificates\Root\ProtectedRoots: Error 5:


I snagged a memory dump, and have uploaded it to... http://www.brandonaguilar.com/msiissue/AppDeployRepackagerMemoryDump.zip

Hopefully that helps out,
-= Brandon.
Answered 12/03/2009 by: stimpy2k
Senior Yellow Belt

Please log in to comment
0
I checked the dump and there is one or more exceptions that are not handled, without the symbol files for the EXE I can't check in which function/method the crash occurred.

But my guessing is still a memory allocation issue.
Answered 12/03/2009 by: AngelD
Red Belt

Please log in to comment
0
The next update of the Repackager will include crash catching technology. This creates a crash dump which tells me where the crash happened. That will be a big help in the future.
Answered 01/30/2010 by: gperks
Senior Yellow Belt

Please log in to comment
0
Download v1.2 again-- It was updated as of 2/9/2010 but as the original 1.2 was up so briefly I'm simply replacing v1.2 with a newer build. Graham believes he has caught the crashing issue in this version and, as the system where I could reproduce the issue no longer has a problem, I think he has been successful!
Answered 02/09/2010 by: bkelly
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity