为什么我在尝试使用VS 2013中的InstallShield生成的.msi时出现错误1309:从文件读取错误?(Why am I getting an Error 1309 : Error reading from file… when attempting to use a .msi generated by InstallShield in VS 2013?)

错误1309:从文件读取错误.....

我正在使用VS2013 - 最新下载的InstallShield限量版

从VS2013 - >解决方案资源管理器 - > Installshield项目 - >卸载/安装:一切都很好。

如果我从目录中运行安装程序文件(右键单击.msi文件 - >卸载/安装),那么一切都很好。

如果我在其他任何地方复制.msi文件,我会收到上述错误,除非我复制同样在installshield项目的DISK1文件夹中创建的'program files'目录。

我以为这应该被打包成1个文件(这不是InstallShield的目的吗?)

这个问题最初发布在flexera论坛上,但似乎没有人回答该论坛上的问题:

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

有关如何解决此问题的任何想法?

谢谢,JB

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

最满意答案

我已经解决了 当您的InstallShield LE项目准备好构建时,进入构建,配置管理器并将构建更改为SingleImage。 接下来做一个Build。 当您将文件夹导航到CD_ROM文件夹所在的位置时,您将看到一个名为SingleImage的新文件夹。 当您浏览时,您将找到包含所有文件夹的单个MSI文件。 没有错误1309的问题。希望有所帮助。

I have solved it. When you have your InstallShield LE project ready to Build, Go into Build, Configuration Manager and change the build to SingleImage. Next do a Build. When you navigate the folders to where the CD_ROM folder is, you will see a new folder called SingleImage. As you go through that you will find the single MSI file that contains all folders. No more issues with Error 1309. Hope that helps.

为什么我在尝试使用VS 2013中的InstallShield生成的.msi时出现错误1309:从文件读取错误?(Why am I getting an Error 1309 : Error reading from file… when attempting to use a .msi generated by InstallShield in VS 2013?)

错误1309:从文件读取错误.....

我正在使用VS2013 - 最新下载的InstallShield限量版

从VS2013 - >解决方案资源管理器 - > Installshield项目 - >卸载/安装:一切都很好。

如果我从目录中运行安装程序文件(右键单击.msi文件 - >卸载/安装),那么一切都很好。

如果我在其他任何地方复制.msi文件,我会收到上述错误,除非我复制同样在installshield项目的DISK1文件夹中创建的'program files'目录。

我以为这应该被打包成1个文件(这不是InstallShield的目的吗?)

这个问题最初发布在flexera论坛上,但似乎没有人回答该论坛上的问题:

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

有关如何解决此问题的任何想法?

谢谢,JB

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

最满意答案

我已经解决了 当您的InstallShield LE项目准备好构建时,进入构建,配置管理器并将构建更改为SingleImage。 接下来做一个Build。 当您将文件夹导航到CD_ROM文件夹所在的位置时,您将看到一个名为SingleImage的新文件夹。 当您浏览时,您将找到包含所有文件夹的单个MSI文件。 没有错误1309的问题。希望有所帮助。

I have solved it. When you have your InstallShield LE project ready to Build, Go into Build, Configuration Manager and change the build to SingleImage. Next do a Build. When you navigate the folders to where the CD_ROM folder is, you will see a new folder called SingleImage. As you go through that you will find the single MSI file that contains all folders. No more issues with Error 1309. Hope that helps.