HowTo create InstallShield MSI with no files needed locally?

mosg picture mosg · May 13, 2011 · Viewed 11.9k times · Source

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!

Answer

RaviKant Hudda picture RaviKant Hudda · Jun 11, 2015

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 belowFirst Step

  2. Second step as you can see the dialog box. click on configuration Propertiesenter image description here

  3. Third Step enter image description here
  4. Last step

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