Solved

Why am I getting an Error 1309 : Error reading from file.....  when attempting to use a .msi generated by InstallShield in VS 2013?

Posted on 2015-01-25
2
670 Views
Last Modified: 2015-01-29
Error 1309 : Error reading from file.....

I am using VS2013 - with latest download of InstallShield Limited Edition

 From VS2013 -> Solution Explorer -> Installshield Project -> Uninstall/Install: everything is fine.

 If I run the installer file (right click .msi file->uninstall/install) from the directory it is compiled in everything is fine.

 If I copy the .msi file anywhere else I get the above error UNLESS I copy the 'program files' directory that is also created in the DISK1 folder of installshield project.

I thought this was all supposed to be packaged into 1 file (isn't that the purpose of InstallShield?)

This question was originally posted on the flexera forum, but no one seems to be responding
to questions on that forum:

https://community.flexerasoftware.com/showthread.php?214260-Error-1309-Error-reading-from-file

Any thoughts on how to fix this?

Thanks,
JB
0
Comment
Question by:jxbma
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 250 total points
ID: 40569393
.msi files come in different configurations.

Some contains everything in one file, but others contain only instructions on how to install stuff that is provided in external files or directories. Look at software you bought on CD or DVD, and you will see that most of these use the second approach. This is because dealing with very large files can cause problems in some situations.

I have never used the Limited Edition, but as its name implies, it is limited. Maybe you do not have the option of deciding how the distribution package will be built.

I used the "big" InstallShield for one of my customers a few years ago, and there was and option somewhere to define the format of the build. You might look around your edition to see if there is one, but do not be surprised if a free edition does not have all the features of the commercial one.
0
 
LVL 33

Assisted Solution

by:sarabande
sarabande earned 250 total points
ID: 40570272
to add to above comment:

you may try to include the 'program files' folder into the .msi file. that should not be impossible as you already should have a directive regarding that folder somehow in your setup script.

Sara
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question