Installing a limited edition of Installshield with files and the .Net framework program that do not work without visual studio

I have a solution in the VS 2013 community version, I recently added a limited installation Installshield installation project.

When I rebuild the solution (in x64 release mode), the installshield project warns me of the following files:

Warning -6245: One or more of the project components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. 16 ISEXP : warning : -6245: One or more of the project components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. Warning -6248: Could not find dependent file Microsoft.ServiceBus, or one of its dependencies of component PLATOS.Primary_output 18 ISEXP : warning : -6248: Could not find dependent file Microsoft.ServiceBus, or one of its dependencies of component PLATOS.Primary_output Warning -6248: Could not find dependent file Microsoft.VisualStudio.CodeMarkers.dll, or one of its dependencies of component PLATOS.Primary_output 19 ISEXP : warning : -6248: Could not find dependent file Microsoft.VisualStudio.CodeMarkers.dll, or one of its dependencies of component PLATOS.Primary_output Warning -6248: Could not find dependent file Newtonsoft.Json, or one of its dependencies of component PLATOS.Primary_output 20 ISEXP : warning : -6248: Could not find dependent file Newtonsoft.Json, or one of its dependencies of component PLATOS.Primary_output Warning -6248: Could not find dependent file System.Data.SQLite, or one of its dependencies of component PLATOS.Primary_output 21 ISEXP : warning : -6248: Could not find dependent file System.Data.SQLite, or one of its dependencies of component PLATOS.Primary_output Warning -6248: Could not find dependent file System.Net.Http.Formatting, or one of its dependencies of component PLATOS.Primary_output 22 ISEXP : warning : -6248: Could not find dependent file System.Net.Http.Formatting, or one of its dependencies of component PLATOS.Primary_output Warning -6248: Could not find dependent file System.Web.Http, or one of its dependencies of component PLATOS.Primary_output 23 ISEXP : warning : -6248: Could not find dependent file System.Web.Http, or one of its dependencies of component PLATOS.Primary_output 

In the setup of the setupshield wizzard, I chose that the installation is looking for .Net 4.5. therefore, I do not understand these warnings.

When I install the configuration software on a computer that does not have Visual Studio installed (but has the latest Net structure (4.5.2)), the program opens (I see this in the task manager) and closes without showing the GUI. Moreover, when I just copy the \bin\release folder to a computer without Visual Studio, the program will still not work.

My guess is that somehow the program requires that the files that install the screen warn me, but shouldn't these files be installed with .Net 4.5 already?

I saw other topics where the problem was solved by compiling in release mode, but I already do this, so I don’t know what might be wrong.

Any help is appreciated.

+7
visual-studio-2013 installshield-le
source share
3 answers

Well, after a very long time, I found a problem.

First, just make sure to install all the dependencies using the NuGet manager. (If possible)

Then, as in my case, I had C ++ wrapped in the C ++ CLI, and I am using VS 2013, install the Visual C ++ Redistributable Packages for Visual Studio 2013 manually.

This made the program work correctly on fresh formatted windows 7.

0
source share

Your program seems to reference the Microsoft.VisualStudio.CodeMarkers assembly, which, as its name implies, is not distributed under .Net, but with Visual Studio.

In your decision, you can check the links of your project by opening the "Links" folder. Delete Microsoft.VisualStudio.CodeMarkers , create your project, see what breaks. Right-click on this link, select “Properties,” and select “True” in the “Local Copy” field on the property bar. Do the same for Microsoft.ServiceBus .

Also, make sure your nuget packages (e.g. Newtonsoft.Json) are included for distribution in the InstallShield installer.

0
source share

Please post your installation script and I will help you. We need to know if this solution was ever successfully built on ANY machine before we find out if your WIN setup file is corrupted, corrupted files causing incorrect DLLs or some kind of instability.

If the solution never left this system and was successfully built at some point, then you may have legitimate files in your mailbox, but a temporary folder in the MS.Net Framework folder containing the wrong files (but let's not go there yet).

You mentioned that you are already in the release, so some questions:

(1) Was this solution pulled from another machine with the Windows Visual Studio SDK installed?

(2) Was this solution built using the command line builder?

(3) If the solution was moved, were there any other packages that complained during the recovery but were not on the error list above? (For example, it can only be displayed on the output).

(4) When you are in the Installshield user interface, do you see any missing dependencies?

Please make sure that you have completed the package recovery phase when the solution was downloaded.

I recommend installing the Visual Studio SDK to find out if you have additional hints or a narrow problem.

To clarify, checking for fixed package errors and installing the SDK are important troubleshooting steps based on what you have told us so far.

The next logical step is to confirm the dependencies on the scan during assembly and / or any restored packages that were correctly restored, so you can narrow down this long list of complaint packages (which just confuses the IMHO question).

I almost do not want to mention this, because it is rather a workaround, depending on whether you have ever had a successful development of this system, but if it gets worse, you can use the Installshield interface to add the latest DLL to your obj \ Free folder and create again.

The paid version had a fully working sample project, but I did not use installshield after a couple of years.

0
source share

All Articles