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
604 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 32

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Find Visual Studio Tools 2 78
Problem to packaging 1 74
Having a different time zone on your task bar 3 28
Using MS Code on my Mac 6 45
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now