Error 1308 during MSI import

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Error 1308 during MSI import

Postby JeeCay » Mon May 07, 2012 11:03 am

Hello,

I'm trying to import a MSI (Techsmith SnagIt 8.2.3) into Advanced Installer, but following error occurs: "Error 1308.Source file not found: <FILE-PATH>\SnagIt.reg. Verify that the file exists and that you can access it".
Can you please help me?

Thanks in advance and greetings fom Germany!

JeeCay
JeeCay
 
Posts: 7
Joined: Wed Jun 08, 2011 3:37 pm
Location: Germany

Re: Error 1308 during MSI import

Postby Daniel » Mon May 07, 2012 3:50 pm

Hi,

I've observed that Techsmith SnagIt software tool is deployed as an .EXE installation file. Can you tell us how did you obtain the .MSI file you are using?
Also, can you please tell us what version of Advanced Installer you are using to import Techsmith SnagIt 8.2.3 and what operating system is running on your machine?

Regards,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 1994
Joined: Mon Apr 02, 2012 1:11 pm

Re: Error 1308 during MSI import

Postby JeeCay » Tue May 08, 2012 7:52 am

Hi Daniel,

OS is Win7 x64 SP1, Advanced Installer Version 9.1.

We want to use another Software Management Tool, thus I have to repackage it (the original package was not done by me).

Here an excerpt from the SnagIt 8 Enterprise Installation (the installer was originally an MSI), which I found today:

Distributing SnagIt Manually
If you do not have a Windows Server or another deployment mechanism, you can “manually” install SnagIt using the command line. This could be placed in a batch file or a script you write.
1. Place the installer, SnagIt.reg, and the transform in the same directory on the central file share. Note that the installer searches for a file named “SnagIt.reg” in the same directory as the original .MSI file and, if present, automatically installs it into the main SnagIt installation directory.
2. The package and customizations can now be installed manually on the client machines using msiexec.
3. Any transforms (.mst files) are applied by specifying the transform filenames in the property TRANSFORMS on the msiexec command line. Multiple transform files are separated by semicolons.
4. To install SnagIt without any user dialogs, applying a transform named “Setup_SnagIt.mst,” run the following command:
msiexec /i \\machine\share\SnagIt\Setup_Snagit.msi TRANSFORMS="Setup_Snagit.mst" /qn


So I created an empty SnagIt.reg and put in the same directory as the MSI - the import works fine. I also added changes to the MSI (HKCU keys) an rebuilt it. But during installation I got an error:
Error in custom action. The library C:\Users\<USERNAME>\DA0BF7AB88EB46758FA1531EAD938821.TMP\WiseCustomCalla.dll is invalid or could not be found

After clicking on OK the installation continues and Snag seems to work fine. But the icons of the shortcuts are not the real SnagIt icons - please have a look at the attachment.

Thanks for your help so far!
Attachments
SnagIt_Icon.png
SnagIt_Icon.png (3.41 KiB) Viewed 547 times
JeeCay
 
Posts: 7
Joined: Wed Jun 08, 2011 3:37 pm
Location: Germany

Re: Error 1308 during MSI import

Postby Daniel » Tue May 08, 2012 12:28 pm

Hi,

We want to use another Software Management Tool, thus I have to repackage it (the original package was not done by me).

Can you please tell us how it is obtained the .MSI file you are using? Also, can you tell us what type of project do you use: a "Repackage Installation" or an "Import MSI" project type?

So I created an empty SnagIt.reg and put in the same directory as the MSI - the import works fine. I also added changes to the MSI (HKCU keys) an rebuilt it. But during installation I got an error:
Error in custom action. The library C:\Users\<USERNAME>\DA0BF7AB88EB46758FA1531EAD938821.TMP\WiseCustomCalla.dll is invalid or could not be found

First of all I think that SnagIt.reg file shouldn't be created by you as an empty file. It seem that this file allows you to use an Advanced Custom Installation of SnagIt and should be generated using /e command-line switch.
Also, you should take a look on Error in custom action: WiseCustomCalla.dll is invalid or could not be found article.

Regards,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 1994
Joined: Mon Apr 02, 2012 1:11 pm

Re: Error 1308 during MSI import

Postby JeeCay » Tue May 08, 2012 2:36 pm

Daniel.Radu wrote:First of all I think that SnagIt.reg file shouldn't be created by you as an empty file. It seem that this file allows you to use an Advanced Custom Installation of SnagIt and should be generated using /e command-line switch.
Also, you should take a look on Error in custom action: WiseCustomCalla.dll is invalid or could not be found article.



Shame on me - I tried to test it "quick and dirty"... :oops:

I have chosen the "Import MSI" project.

At first sight, I thought this error was caused by Advanced Installer. I will put more effort in this now to see if I can solve this issue.

\EDIT: Added project type
JeeCay
 
Posts: 7
Joined: Wed Jun 08, 2011 3:37 pm
Location: Germany


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot], Dan, Google [Bot] and 1 guest