HowTo create InstallShield MSI with no files needed locally?

为君一笑 提交于 2019-11-27 06:50:35

问题


Hello everyone and good day!

Question: I had create a Basic InstallShield Project in my MSVC2010, added some files and primary outputs and press build. Project compiled normally: there was created MSI, setup.exe, setup.ini and (WTF?!) local directory structure of files, which I'm trying to install (for example, "Program Files\My Company\app.exe, ..." files was copied there). I throught that this is not needed folder, so copied my setup files (MSI, setup.exe, setup.ini) to another folder and start installation. When process of installation come on to copy state, installer gave me the error, that no required files (app.exe,...) was found.

Does anybody solve this problem? I think this is the simple one.

Thanks!


回答1:


You can achieve this by making some changes to the properties in solution explorer. This is so simple as you can compress all in single .exe file. Follow the given below step:

  1. Right Click On Entire solution and Choose Properties as given below

  2. Second step as you can see the dialog box. click on configuration Properties

  3. Third Step

  4. Last step

This is finest and easiest way to achieve the required task.




回答2:


Answer was found by myself, but thank you all any way...

To create a self-extracted install file you need to open "Releases" tab in your InstallShield Basic project and right click on configuration click "Release WIzard...".

All what I need is at this figure:




回答3:


Select Compressed from Compression option in properties view.




回答4:


Simple use the "single image" build. Not cd nor dvd



来源:https://stackoverflow.com/questions/5992819/howto-create-installshield-msi-with-no-files-needed-locally

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!