Jun 24, 2014
07:59 PM
I have a simple web application (MVC/Web API, Dev studio 2013)) where I have used the included Installshield LE for the deployment. I use the primary outputs for each project to define the target files. If I build this all in the IDE (Dev Studio), the installation works fine (ie all files are deployed) However, if I build from the commandline using msbuild (as I want to on our build server) as follows... msbuild myapp.sln /t:Rebuild /p:Configuration=SingleImage the install builds ok, but there are files missing in the target folder after the installation is run. All the missing files are references added by nuget.. eg Microsoft.Owin.Host.SystemWeb, Microsoft.Practices.Unity.Configuration etc. Not all of them are missing, for example it does include Microsoft.Practices.Unity.dll, but not the other 2 unity related assemblies (ie Microsoft.Practices.Unity.Configuration.dll and Microsoft.Practices.Unity.RegistrationByConvention.dll). I have no idea of what else to try. It works fine when built in the IDE, but not with msbuild. Does anyone have any ideas here? Any help would be greatly appreciated
... View more
Labels
May 05, 2014
08:40 PM
Hi jcoone, thank you very much for that! I thought I had tried that, but I tried it again, and this time it did appear to work. It seems really weird that you have to change the product code, especially since the help section for the Product Code includes the following.. Caution: Because the product code uniquely identifies your product, changing the code after distributing a release of your product is not recommended. Why would they say this if you do need to change it for an upgrade? Thanks for the help so far jcoone wrote: you need to update The product Version and the product code (NOT the upgrade code) in the General tab to be able to install over a previous version. If you want to ensure that you remove the previous version and don't end up with multiple entries in the Add/Remove programs list you will need to add an upgrade path for the previous version of the MSI, if you used a compressed setup.exe you can just hit cancel when adding the upgrade path and then manually set the minimum and maximum version numbers to overwrite. That will create an upgrade path with the same upgrade code as the current installer which should match unless you changed it.
... View more
May 05, 2014
03:40 AM
Hi, I have a simple web application where I have created an installation using the IS limited edition. I had to make a fix in one of the files, so I rebuilt the setup after incrementing my assembly versions, and incrementing the product version in the installs General information section. However, when we run this, I am presented with a dialog that says we need to uninstall an existing version. I have seen quite a few other posts that talk about the "Upgrade paths" etc, but I am not quite getting it. Surely just updating the product (and assembly) version is enough to tell it that this is a newer installation, and to just overwrite the existing files? We do not have to add a new Upgrade path with every build do we? I did try and add an Upgrade Path entry (browsing to the older install), and tried changing everything I could find, but nothing would get rid of this message. I even saw some suggestions to change the product code (which really does not seem right, it is the same product!), but I did try this, and now it does allow me to install, but I get 2 entries in the add/remove programs Any help here would be greatly appreciated... all I want is for the new install to overwrite the older files, as simple as that. Thanks in advance for any information
... View more
Labels
May 04, 2014
11:58 PM
Hi, I have a web application project and have used IS limited edition to create an installation. I have 2 different build warnings that I would like to get rid of. 1. Warning 1 -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. ISEXP : warning : -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. This is true, I do need .net 4.5. but in the Define Setup requirements and Actions I have set .net 4.5 full package as a requirement 2. Warning 2 -6248: Could not find dependent file Microsoft.Practices.ServiceLocation, or one of its dependencies of component .Common.Primary_output ISEXP : warning : -6248: Could not find dependent file Microsoft.Practices.ServiceLocation, or one of its dependencies of component Common.Primary_output I have the above warning in my projects that contain Unity. From what I have Googled the Microsoft.Practices.ServiceLocation is optional and only needed if using the IServiceLocator interface.. (see http://msdn.microsoft.com/en-us/library/ff660927(v=pandp.20).aspx) I am not using this interface, so do not have the need to include it, and the application runs fine without it, so should this be a warning? Thanks in advance for any help Peter
... View more
- Tags:
- lim
Labels
May 04, 2014
05:17 AM
Thanks for that Superfreak3. I did some more searching and found that what I needed to do was 1. Add the web *site* (eg I added Default Web Site as I just want it to go under here) 2. Once I have done the above, I could then right click and add web *application*. It then went ahead and now it installs as a web application as I wanted. Cheers
... View more
May 03, 2014
06:58 PM
Hi, I am assuming this is the correct forum to post questions for IS Limited edition as in the plugin for Dev studio 2013. (I could not see a group specifically for this). If not could someone please point me to the correct forum. So assuming I am in the correct group, I have created a very simple Installshield setup for a web application, that does nothing by supply a REST service (via Web- API). As per a tutorial I have followed, I have gone into the "Configure the Target System Internet Information Services" section as filled it out as follows.. All the files seem to be installed correctly, and I can see an entry in IIS Manager, except that it does not appear to be installed as a "Web application". I need to manually right click, and then select "Convert to Application" for this to work. Does any one have any ideas if I can get the install to do this step, and have my set install this project as a web application? Thanks in advance for any help! Best regards, Peter
... View more
- Tags:
- iis application
Labels
Latest posts by Peterc
Subject | Views | Posted |
---|---|---|
1247 | Jun 24, 2014 07:59 PM | |
2031 | May 05, 2014 08:40 PM | |
2105 | May 05, 2014 03:40 AM | |
713 | May 04, 2014 11:58 PM | |
1559 | May 04, 2014 05:17 AM | |
1667 | May 03, 2014 06:58 PM |
Activity Feed
- Posted Installshield LE misses files when built by msbuilt, but not when built in IDE on InstallShield Forum. Jun 24, 2014 07:59 PM
- Tagged Installshield LE misses files when built by msbuilt, but not when built in IDE on InstallShield Forum. Jun 24, 2014 07:59 PM
- Tagged Installshield LE misses files when built by msbuilt, but not when built in IDE on InstallShield Forum. Jun 24, 2014 07:59 PM
- Posted Re: How to allowing an updated product to be reinstalled on InstallShield Forum. May 05, 2014 08:40 PM
- Posted How to allowing an updated product to be reinstalled on InstallShield Forum. May 05, 2014 03:40 AM
- Posted Build warnings -6245 and -6248 from IS LE that not relevant? on InstallShield Forum. May 04, 2014 11:58 PM
- Tagged Build warnings -6245 and -6248 from IS LE that not relevant? on InstallShield Forum. May 04, 2014 11:58 PM
- Posted Re: Installed Web application does not show up as a web application on InstallShield Forum. May 04, 2014 05:17 AM
- Posted Installed Web application does not show up as a web application on InstallShield Forum. May 03, 2014 06:58 PM
- Tagged Installed Web application does not show up as a web application on InstallShield Forum. May 03, 2014 06:58 PM