6.4.1 - Repackager crashing or not actually capturing - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

6.4.1 - Repackager crashing or not actually capturing

Hi, I just upgraded to the 6.4.1 build and now my Repackager is either:

a) Crashing with a C++ Runtime error while capturing a snapshot -or-
b) if it thinks it successfully captured an install, the resulting project only has a few completely non-related registry or files entries and nothing else useful. (One time it even captures Oracle files that weren't even part or related to the package being captured and already on machine).


what can I do?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 6.4.1 - Repackager crashing or not actually capturing

Hi,
a) Crashing with a C++ Runtime error while capturing a snapshot
I'm not sure why you are encountering this behavior. Please try reinstalling Advanced Installer (perhaps there is something wrong with its files). If the problem persists please specify what you are trying to repackage so we can investigate it.
it thinks it successfully captured an install, the resulting project only has a few completely non-related registry or files entries and nothing else useful.
This behavior may be caused by the filters you are using. Please make sure that they are configured correctly.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: 6.4.1 - Repackager crashing or not actually capturing

I thought maybe it was the filters too (was in the past)... but taking anything out from the defaults is causing "a" to occur.

Is there a debug mode/switch in the repackager I can use to try capturing the issue?
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: 6.4.1 - Repackager crashing or not actually capturing

ssearles wrote:I thought maybe it was the filters too (was in the past)... but taking anything out from the defaults is causing "a" to occur.

Is there a debug mode/switch in the repackager I can use to try capturing the issue?
Reinstall of AI did not correct the crashing issue.
:?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 6.4.1 - Repackager crashing or not actually capturing

Hi,

Have you tried this on other machines? Also, can you please specify what you are trying to repackage?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GillBates
Posts: 1
Joined: Wed Aug 06, 2008 10:46 pm

Re: 6.4.1 - Repackager crashing or not actually capturing

I am having a similar problem. I am trying to repackage Simply Accounting 2008 and the snapshot is launching the applicaton install and completing the snapshot before the application is even finished installing. The repackager statistics then tell me that there are 6 folders, 2 files, 1 modified registry key, and 1 modified registry entry. This is a large program so the capture is faulty.
I am doing this on a Vista virtual machine and have tried wiping and retrying on 3 occasions with the same results. The version is 6.4.1
I have been using the default filters.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 6.4.1 - Repackager crashing or not actually capturing

Hi,

Perhaps the installation you are trying to capture is composed from multiple install processes. In this case, the Repackager will capture only the changes made by the first process. Note that when you configure the capture profile, you can set the Prompt and wait after installing the package option. If this option is set, the Repackager will prompt for finishing the capture. Therefore, you can finish installing the target package before importing the results.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: 6.4.1 - Repackager crashing or not actually capturing

That option doesn't seem to affect the behavior of Repackager... least with the package I am trying. It's also appearing to capture items that have nothing to do with the package in question, it's almost like it's capturing a few OS level items/changes and quitting out.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 6.4.1 - Repackager crashing or not actually capturing

Hi,
That option doesn't seem to affect the behavior of Repackager... least with the package I am trying.
Was the debug version of the Repackager useful? Did you receive it? I attached it to this post just in case you did not receive the email. Please send us the log generated by the problematic repackage process so we can investigate it.
It's also appearing to capture items that have nothing to do with the package in question,
Most likely this is caused by the filters you are using. Note that the Repackager captures any modification made during the repackage process.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: 6.4.1 - Repackager crashing or not actually capturing

Cosmin, I hadn't received your email, but the linked file you have here doesn't seem to work for me. When I d/l, uncompress and try to run it from my 6.4.1 installation it crashes.

Simply says "Error executing program!"

:(

As for my filter, I know it'll capture everything... but what I meant to allude to is it seems to only be capturing a few OS level tweaks before quitting out of the snapshot.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 6.4.1 - Repackager crashing or not actually capturing

Hi,

I forgot to include a file in the archive. Please use the files attached to this post. Note that the Repackager must be executed directly, not from inside Advanced Installer. Also, it will work slower because it will write into the log. The log file will be created on the C:\ drive.

I apologize for the delay.

Regards,
Cosmin
Attachments
Repackager.zip
(858.77 KiB) Downloaded 3901 times
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: 6.4.1 - Repackager crashing or not actually capturing

Ok, I must be doing somethign wrong... I placed both of those files in the AI directory (replacing the ones in there) and even in it's own directory. tried to run it directly (not from withing AI) and it still will not load.

What am I doing wrong?
:?:
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 6.4.1 - Repackager crashing or not actually capturing

Hi,

What is the exact behavior you are encountering? Does it show an error message?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: 6.4.1 - Repackager crashing or not actually capturing

Repackager.exe

"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

Return to “Common Problems”