How to pack code and folder become a installer - visual-c#-express-2010

I creating an windows forms application to configure IIS website application and also copy folder to selected location by user using visual c# 2010 express.
I want to pack the folder and application to become an executable file, like installer.
I can't find the setup template in Visual C# 2010 express.
Is there any way to pack the folder and the application to become an executable file?

One of the method that i found is use winrar. It can pack files/folder that the application needed to run into an executable file.

Related

How to convert .msi file for windows 10 UWP apps

I'm working in windows 10 UWP cordova application and my client wants setup as .msi. How could I convert my .appxbundle to .msi?
Is there any proven option to create windows 10 UWP app package as .msi file?
There is no direct way to create msi file.
But you can side load your app. You can find at the end of this article
Packaging UWP apps how to sideload app package. You should run with Powershell file Add-AppDevPackage.ps1 and follow instructions.
Probably, you can create some exe file that could copy files to machine and run this script in Powershell

Visual Studio Web Installer installing to local source control folder instead of inetpub?

I'm using the VS2013 Installer extension to build a web service installer.
The problem I'm having is that after installing this service, if I go to the inetpub folder, I find no reference to the service I just installed, and the service is evidently installed in the local source folder instead.
This behaviour is consistent regardless of where the installer is run from on the HDD.
If anyone has any insight on this, I'd appreciate it. I assumed that the installation directory would be determined based on the inetpub folder used by the Default Web Site, but it doesn't appear to be.

Visual Studio 2015 Preview - Full IIS

Any idea how to run ASP.NET 5 project in full IIS (not express) from within Visual Studio 2015 (via start debugging with F5 key)?
Atm I'm getting:
Couldn't determine an appropriate version of KRE to run.
I know it's not officially supported yet, but since IIS Express can do it, so should full IIS?!?
Let's say you created an ASP.NET 5 web application out of the template provided in VS 2015 Preview, then you can follow either of the approaches below:
Run the kpm pack command to create the deployable package with the appropriate options.
Example:
kpm pack --runtime KRE-CLR-x86.1.0.0-beta2-10690 --out "C:\MyWebApps\WebApplication1" --wwwroot-out wwwroot --configuration Release
Right click on the web application project and do a Publish to local file system directory.
Once the above step is done, in IIS, you can create a virtual directory application (or Website if you wish) to this deployable package's wwwroot folder. Example: "C:\MyWebApps\WebApplication1\wwwroot"
I just had a similar issue with beta4.
Note that the names have changed now so instead of a KRE it's now a DNX, although IIS was still showing the error calling it KRE despite this.
Anyway the solution for me was to:
right click the project in question in Solution Explorer
select "project name" Properties
tick Use Specific DNX version
tell it exactly which one you want to use, for me that was 1.0.0-beta4, .NET Core, x64
The project then ran in the browser for me.

Why doesn't InstallShield Limited Edition remove AppDataFolder during uninstall?

I have successfully created an ISLE setup for my C# WPF app. The app needs to create XML files on the user's hard drive.
These are placed in the AppDataFolder and everything works great in my testing.
However when I test the uninstall it leaves the AppDataFolder behind.
I googled on this and there seems to be scripting capabilities in the full edition but I do not want the full edition just to have my app's AppDataFolder removed on uninstall.
I would imagine that many apps need to create and read/write to an AppDataFolder so it only stands to reason that uninstall would remove these.
I have added the folder structure that my app creates dynamically to the Install Shield, "Application Files" under the [AppDataFolder] section of the Destination Computer treeview. This shows the identical folder structure that my app creates successfully on the users hard drive.
So is it me or is it ISLE?
Thanks!!!

Do you get an easy to use IIS Installer?

I have just finished the development of a web service application in visual studio.
Is there an easy way to wrap it in an installer, so that I can just ship it off to technical support, and they can have a wizard based installer that will fully setup an IIS site for them, either in 6 or 7?
You can use Visual Studio's built in setup project. I've only tried this once on a test project, but it created all the necessary stuff in IIS 6 just fine.
I would suggest you export the IIS METABASE for your local instance of the service and then this can be imported into a new server to create the correct IIS configuration. Have a look at Copying IIS Configurations using iiscnfg.vbs The METABASE is just an XML file and you will easily see the specific values that allows you to edit them should the deployment be different in anyway.

Resources