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
761 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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.
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…

617 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