i am devoloping a C# windows app and i deploying my app with MS Clickonce .
but i have a problem .
iam using a dongle for this app and i am packing my *.exe .
first step ; publish the project and then i am packing the published exe. after than add file ext. name , like this *.exe.deploy
but ;
so , dont work this exe .
have you any solution about this problem ?
If you're modifying any of the published files after publish, you'll have to update your .manifest and .application files. Use mageui.exe (location is in bin folder of Windows SDK you have) to edit those files and remember to sign/save when finished.
If you just want to provide a copy of the app, why don't you just build it and then copy the \bin\Release folder to the external drive?
ClickOnce is really meant to deploy an application from a webserver or network share adn give you the ability to publish incremental changes.
If you want to deploy something using ClickOnce from a USB stick, you have to publish the application to a folder, then copy the package over to the usb drive and have the user run setup.exe.
If you do that, you will want to go to the Manifests tab under the Options dialog and check "exclude deployment provider URL". Then when the user installs, it will set the installation URL as the file path to the files on the usb stick. He will have to install updates the same way.
Related
I'm using ClickOnce to publish a C# application.
Users want a configuration file located on the Desktop.
Can I get the install/update procedure to copy a file to the users desktop? If so, how?
I have a problem with the deployment of my app:
I created the app in C# (Windows Forms) on Windows 7, tested it, working just fine. I moved the .exe and dlls to another computer with Windows 10, tested, working just fine. All good with the app until now.
The next step is to create a setup file for it. I managed to create the setup file, it installs my app, the app work but can't create files (log files for example - files are stored next to .exe file). I found out that the folder needs full control permissions for Users. How can I set the permissions to the folder when the app is installing?
I found a solution, not as elegant as I wanted but it works: on commit, the setup will execute a .bat file with a script that will give full permissions for IIS_IUSER.
Check this link:
How to run a ".bat" file during installation?
iam deployng a simply exe app via ClickOnce on our shared folder.
app should be installed on local folder.
to avoid risk i want to hide location of deployed file to user.
i want to share them only location where installer is, all update should be deployed to different folder
how can i do it?
how i have to setup publishing folder and installation folder?
i try to set publish folder
\\sharedfolder\App\moreSecretFolder\MyApp
and
install fodler as
\\SharedFolder\InstallMyApp
hoping that user can go to second folder to launch installer and App go to first folder to search for update but don't works in this way: after deploy InstallMyApp fodler is empty
When deploying a ClickOnce application, the installation folder URL, is there a way to make it relative to the web application directory hosting it?
For instance, for local testing I publish to http://localhost:54592. However, when this web application is deployed, it could be anything from http://www.foo.com to http://www.foo.com/MyVirtualDirectory
I would like the path to find the installer in its current location, and the application after installer has completed to reference the web app host, not the development URL.
Platform: Visual Studio 2010, .NET 4.0, and C#.
This works out of the box if you stick with *.application as your application source. You just need to pick a folder inside your web application to publish your ClickOnce application, and the application is available from this address under your application.
For example, if copy your site to C:\inetpub\wwwroot\mysite and copy the ClickOnce to C:\inetpub\wwwroot\mysite\myapp with MyClickOnce.application inside the ClickOnce folder.
Then you expose your website as http://example.com and the ClickOnce application is available under http://example.com/myapp/MyClickOnce.application.
In case of setup.exe you need to recreate the manifest after you publish it to the destination location. This is done with mage.exe.
In the Options dialog, the Manifests tab, you can check the box that says "Exclude deployment provider URL".
Then provide the URL to your user for the installation based on where you put it. When they run it, it will create and save the URL where they got it from, and always look there for updates.
We are developing C# 4.0 windows based application using visual studio 2010. Now we want to make an installable version of the exe using clickonce to deploy our application. I am new to .NET platform. So, please give me a step by step procedure to use clickonce to deploy my application.
While following steps :What should i need to given in Installation Folder URL Box(2 nd text Box):
Here is the break down of the two paths in this wizard
Publish Folder - Where should the Publish process put the ClickOnce deployment package
Installation Folder - Where will users of the application go to install the application from
Often times these are the same location. For example when I deploy ClickOnce applications internally I publish to a network share. This is the same place where users go to install the application.
One scenario where they would be different is when the users install from a web location. In that scenario you'd often have a publish folder which was a network share or path on the local computer while the installation folder was a web site URL