How to create a single setup.exe with InstallShiel

2019-03-17 09:03发布

I am trying to create a single .exe file installer. I managed to get all the dependencies in to a .exe file (by setting extract from Setup.exe property). How do i get the .msi also inside the setup.exe file?

This is what it looks like now

enter image description here

6条回答
疯言疯语
2楼-- · 2019-03-17 09:34

I had this trouble too. The way it does is very unintuitive, IMO.

  1. Highlight the Set up project
  2. On Visual Studio Standard toolbar, choose "Solution Configuration" dropdown. Probably it is selected as "Debug". Change it to "Single Image"

    enter image description here

  3. Right click on your setup project and Build.

It should create a single setup.exe.

查看更多
Bombasti
3楼-- · 2019-03-17 09:38

Go to the solution configuration properties and configure as shown in the image:

configuration

查看更多
\"骚年 ilove
4楼-- · 2019-03-17 09:43

Creating a stand-alone setup.exe with InstallShield LE is just a little tricky. You have to remember several things.

  1. Go to "Build" -> "Configuration Manager" -> change the configuration to "SingleImage." You may have access to the configuration directly on the tool bar at the top. Your options will be "CDROM", "DVD-5", an "SingleImage." You can change it from the configuration manager or using the tool bar.

  2. Next go to "Prepare for release" in the solution explorer (on the far right) and double-click on "Releases." On the left-hand side you will see your "Builds" tree. Work your way down the tree to "SingleImage." Click on it.

  3. In the middle witll be three tabs: "Build", "Setup.exe", "Signing." Click on "Setup.exe." Set Setup Launcher to Yes (it will probably already be set to this). Down at the end of the options is a section called "InstallShield Prerequisites Location" - set this to "Extract From Setup.exe" otherwise any prerequisites (there are usually lots) will not be embedded into the setup.exe.

You're done.

查看更多
我想做一个坏孩纸
5楼-- · 2019-03-17 09:56
  1. Click on Releases option.
  2. Releases configuration tab will open on left-hand side.
  3. Expand Default Configuration
  4. Select the configuration which you are using to build the project(Debug/Release)
  5. Right click the configuration and select release Wizard. Click next button till you get Release Configuration Screen.
  6. Select first option Compress all files.
  7. Click next till you find the Summary page and click on finish
查看更多
劫难
6楼-- · 2019-03-17 09:56

It's possible to create a single setup.exe file with IExpress.exe which is mentioned here

查看更多
倾城 Initia
7楼-- · 2019-03-17 09:57

I don't have InstallShield LE installed on the machine in front of me but my memory is that it has different solution configurations defined. One of them is called SingleImage. Just build that release.

查看更多
登录 后发表回答