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
706 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 34

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

735 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