Missing file (Schema.dat) after repackage - Advanced Installer Community
eomolina
Posts: 3
Joined: Wed Feb 26, 2014 10:13 pm

Missing file (Schema.dat) after repackage

I'm testing AI to see if we will purchase it for repackaging software for internal release. I have read & followed the Tutorial for Repackage Installation using a Virtual Machine (http://www.advancedinstaller.com/user-g ... er-vm.html). I'm using the VMWare Player (with the latest Tools and VIX SDK). I'm trying to capture the installation of Adobe Flash Player ActiveX v12.0.0.44 on a Windows 7 64-bit VM. It seems that the capture is going fine. I'm importing the results directly to AI as suggested by the Tutorial.

The problem is when I try to build the MSI package. I get the following error:

Code: Select all

Checking builds status... done.
error.
Resources referred by the project are missing.

C:\Packages\Installation Captures\Adobe Flash Player 12 ActiveX-FILES\System64Folder\SMI\Store\Machine\SCHEMA.DAT


Build finished because an error was encountered.
I navigated to the path, and I could not find that SCHEMA.DAT file. Its like it was not copied from the VM. Any idea of what could be happening?

Thanks in advance.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Missing file (Schema.dat) after repackage

Hello Edwin and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why you are encountering this behavior. Please give us some time so we can test and investigate your scenario and we'll get back to you as soon as we have a conclusive answer.

Thank you for your patience.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eomolina
Posts: 3
Joined: Wed Feb 26, 2014 10:13 pm

Re: Missing file (Schema.dat) after repackage

Thank you Daniel!

I do not know if this is a rare bug, or operator error. Honestly, I'm inclined on the 2nd one. Is kindda nerve-wrecking, as I'm learning as I go and I'm never 100% sure I'm doing things right. This is THE main reason I want us to work with AI... the tutorials are clear enough to teach me what I need to know, yet have links to the more advanced features of packaging.

I'm at your disposal to test any theories. Again, thanks for your time!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Missing file (Schema.dat) after repackage

Hello Edwin,

We've tested the repackaging scenario using the "install_flash_player_12_plugin.msi" file and we have replicated the behavior. This seems to be an Advanced Installer limitation regarding repackage operation of this specific MSI. A fix will be added in a future version of Advanced Installer, thank you for bringing this to our attention. We will let you know when the fix will be out.

Until then, since you are in trial period, in order to evaluate our "Repackager" feature you can try to repackage another installation package. Also, please keep in mind that the import features in Advanced Installer (the Repackager, the Import MSI feature etc.) are intended to be used to get a starting point for your installation package, not to completely reproduce other installation packages. The Repackager tool captures only the effects of the installation (the changes made on the system). If the original installation package executes custom code (programs, scripts etc.) then only the effect will be captured (registry entries, files and folders etc.). Also, after repackaging an installation some adjustments may be necessary in order to obtain a working installation package.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eomolina
Posts: 3
Joined: Wed Feb 26, 2014 10:13 pm

Re: Missing file (Schema.dat) after repackage

Daniel:

Weird that I found a little bug, but is understandable. Too many companies creating their own packages (especially Adobe) makes all this an eternal cat & mouse chase.

I understand that the capturing/repackaging is not intended to be used as a "one-stop-shop", but as a starting point for a project. While AI's interface is friendly enough for a noob like me to follow, going to the deep end and customizing some packages does present a challenge. If the capture misses something like a folder or a registry key I could figure out how to add it, but other things (like the schema.dat) makes things a little more difficult. I'm concerned about those " adjustments that may be necessary in order to obtain a working installation package"... it is hard for me to figure out what are they. I understand that each package presents its own unique problems and there is no silver bullet, but do you guys recommend books/study material for someone new to learn? I know that if I go through the basic concepts of packaging, I could figure out 95% of the unique solutions and would be able to ask intelligent questions for the rest.


In any case, thank you very much for your emails and responses. You diligent attention to detail is proof of excellent Customer Service and Support. You and your team need to know we appreciate your help! :D
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Missing file (Schema.dat) after repackage

Hello Edwin,
I understand that the capturing/repackaging is not intended to be used as a "one-stop-shop", but as a starting point for a project. While AI's interface is friendly enough for a noob like me to follow, going to the deep end and customizing some packages does present a challenge. If the capture misses something like a folder or a registry key I could figure out how to add it, but other things (like the schema.dat) makes things a little more difficult. I'm concerned about those " adjustments that may be necessary in order to obtain a working installation package"... it is hard for me to figure out what are they. I understand that each package presents its own unique problems and there is no silver bullet, but do you guys recommend books/study material for someone new to learn? I know that if I go through the basic concepts of packaging, I could figure out 95% of the unique solutions and would be able to ask intelligent questions for the rest.
Since you are new, I highly recommend you read and test our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products. This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

Also, regarding our Repackager results I'm afraid there is no straightforward method to check their accuracy. After you import a repackage operation into an Advanced Installer project you should build it, then install it on a test machine and make sure the installation fulfill your requirements.
In any case, thank you very much for your emails and responses. You diligent attention to detail is proof of excellent Customer Service and Support. You and your team need to know we appreciate your help! :D
You're always welcome. Just let us know anytime you need help.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DirkC
Posts: 2
Joined: Thu Mar 06, 2014 1:48 pm

Re: Missing file (Schema.dat) after repackage

Hello,

I would like to mention that I have the same issue with the schema.dat missing file when trying to build a package after capturing.

I have had this issue with 2 softwares I tried to capture so far, IBM iSeries Client Access and Exact Globe (Dutch CRM software). Both builds failed with this error.
I had the issue on physical machine and in a virtual machine on ESX.

I hope there will be a fix soon.

Kind regards,
Dirk
Enterprise license.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Missing file (Schema.dat) after repackage

Hello Dirk and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Indeed, currently this seems to be an Advanced Installer issue. Can you please send us a download link for the installation packages you are trying to repackage to support at advancedinstaller dot com so we can test and investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Missing file (Schema.dat) after repackage

Hello,

This was fixed in version 11.0 of Advanced Installer released on March 13th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DirkC
Posts: 2
Joined: Thu Mar 06, 2014 1:48 pm

Re: Missing file (Schema.dat) after repackage

Hi guys, thanks for your quick support. However I am on a packaging project for a client and had no time to dwell on one packaging issue.
Just wanted to inform you that I found a fix as a workaround before V11 of AI. I just went to the folder where AI said it could not find the schema.dat file and created the file myself as a test. Right click - create new text document and named it schema.dat, to my surprise it worked.

Kr,
Dirk
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Missing file (Schema.dat) after repackage

You're welcome Dirk.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”