Publishing ClickOnce Or Windows Installer?
Aug 28, 2010While publishing, how can I select ClickOnce or Windows Installer. Where can the choice be made?
View 2 RepliesWhile publishing, how can I select ClickOnce or Windows Installer. Where can the choice be made?
View 2 RepliesTrying to publish a click once type app to a local directory and create a websetup with the published contents- so that i can give tat setup to install in two different servers. but as the publishing wizard takes a URL - separate setup is required for each server. Is there any way that i can create a single setup which i can use it in two servers..?
View 1 RepliesPublishing to CD using the ClickOnce method IS possible in VB 2008 Express. I've posed many questions in the past in my questions regarding "Distributing A Program on CD".I was getting error messages and my program would not instal on a 3rd party computer (My LapTop)
I followed all the instruction as laid out in the Help file and took note of all the advice I received in the forum but the programs wouldn't install on my LapTop.I bought a book entitled "Build A Program Now Microsoft VisualBasic 2008 Express Edition" by Patrice Pelland.
In Chapter nine in goes through the procedure of publishing with the ClickOnce method. The one thing that the book said which was not included in the Help file was that the option "Build (Program)" in the Build menu had to be selected.I then went through all the other options as were discussed in my threads "Distributing a Program on CD".
Success! I published two programs, "MasterMind" and "HangMan" (Simple enough programs for a beginner to VB Express)I then burnt the two folders created during the publish porcedure to a CD, loaded the CD onto my LapTop and double clicked on "Setup" on the "Mastermind" program. Total success! The program installed without a hitch and runs without fault.
I then selcted to instal "HangMan" and bombed out with the error message that stated I need to instal
"Microsoft.Visual Basic.PowerPacks.Vs" in the Global Assembly Cache (GAC) first."
I have a project and I'm publishing it with ClickOnce. As it publishes, it asks: "Version 1.00.xxx (etc) already exists on the server, do you want to overwrite it?" -- well, I click yes, and then I run the setup file and install it (I publish to my desktop), and guess what -- it's the old version of the project.For some reason, unless the version that is published is greater than the prior version, even if I tell it to overwrite that version, it is not published properly!
This has caused me some headaches, as I test my program on another VM, find errors, fix them in code, republish, and find the same bugs in my program as I test it again because it didn't publish the latest or newest version of my program, I even tried the simplest thing, I changed the text on my main form window that opens to something different from previous, and no matter how many times I publish, and click overwrite the old version, the old version remains!
i would like to ask....after i completed my application and i would like to make it become an installer instead of publish it,what should i do next?
View 9 RepliesI'm trying to add an automatic update feature if there is a mandatory update for my application using something like this:
vb.net
'Check for mandatory updates
Private Sub MyApplication_CheckForUpdateCompleted(ByVal sender As Object, ByVal e As Deployment.Application.CheckForUpdateCompletedEventArgs)
If e.UpdateAvailable AndAlso e.IsUpdateRequired Then
[Code]...
Im new to .net and clickOnce publishing. As I make newer builds I have an install file with the same name as previous builds for an application with the same name. If I then install the new build application over the old build application will I run into problems? or is this OK? I am deploying to folks that are non-computery (i.e. expect new features to just work 5 mins after requesting them), and if I can allow them to just run the new install similar to an update, i.e. over an existing install, it would be a lot easier and quicker than having them uninstall and reinstall etc.
View 3 RepliesI have written a program in Visual Basic 10 and all is well. I have published it and have been burning the result to a cd and installed it on various computers, however it is the click once app, which has been fine till now. What I need to do now is to have the program install the .exe file and associated files (non click once app) to a specific drive on a computer or network computer. I have searched the net for instructions on how to initiate the windows installer and have failed. is there a program that you can select the source files then point to the installation folder tell it to go and an installation package gets made that I can burn to disk.
View 3 RepliesI have a ClickOnce app that has been working fine for a couple months, until a day or two back some internal politics borked the server. The result of this was that the path for ClickOnce during install changed just slightly at one intermediate level. It used to have /is/ in the path, and the is has changed to something else. I changed everything I could find, including recreating the whole target directory in IIS on the server. However, when I publish, though the link is correct, installation is failing. The log shows that, after checking and installing some prerequisites, the installation is attempting to go back to that /is/ path to find the app for installation.
Can anybody suggest where that invalid path is located? I have gone through every property I can find in Project|Properties, and they are correct. I have looked in App.config, and that is correct. Where else should I be looking?
I have a question regarding publishing vis ClickOnce. For the publish options, there is a Publishing Folder Location and there is a Installation Folder URL. clarify the difference between Publish and Install, and when it would be apropriate for the two to be different?
View 3 RepliesI have created a windows application. Now i am ready to distribute and install the program, but I want to have the user need a password to install the program. Like a product key that I could set per individual customer. Is there a way to do this?
View 2 RepliesAbout publishing my program. there's a lot of files made after publishing unlike in vb6 when i converted it to exe file theres only one file. hmm how can i make just one exe file in vb9 is it possible? another question do i have to install the program after publishing?
View 5 RepliesI published a VB.NET 2008 program that contains a Windows Media Player. The code I used to play a wav file was AxMediaPlayer1.FileName = "song.wav". After publishing the program, when it is supposed to play the wav file, I get the following error: Error HRESULT E_FAIL has been returned from a call to a COM component.
View 2 RepliesIs there a way to make the progress bar in Windows Installer look different?Could you make it look like a progress bar with the green boxes?
View 7 Replieshow to build something like the following:I have an application that will reside on Kiosk style PCs that are out there in public settings. While the application is running on the Kiosk I'll need to restrict the access to certain PC features (reboot, command prompt, download files, etc.) so they don't mess with the PC. I need to build a Windows Installer that deploys the application and does all the set up needed to lock down the PC. The installer needs to do all the work; there can't be any manual steps besides running the installer. The installer will install the application, this part is standard. In addition it will create a local user and use Local Group Policy Objects to restrict the user's access to the machine. Then the machine administrator will log in as that local user and run the Kiosk application under this account. The hope is that the account is locked down and people playing with the application won't be able to stop the application or do anything malicious to the PC.I have been looking for a way to create GPOs in C# code. This way I can implement the GPOs as a CustomAction in my installer. So far I am not finding the right API for GPO management so I'm starting to wonder if I'm even on the right track.If you know of a nice solution for how to accomplish the Kiosk lockdown via a Windows Installer or you know something about managing Group Policy in a C# application
View 7 RepliesWhere is the location of ClickOnce Installation and what are the restrictions of ClickOnce Deployment?
remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback,
i want to create an installer of my program.but i want it to be with the aid of a wizardcould somebody tell me how to create it. i dun know how to create an installer.
View 2 RepliesI've read about revising the File Version (and Assembly Version) to ensure that an updated file does replace an older/previous file when a WI update installation is carried out, but I don't understand the four-part construction of the File Version ... and my re-versioned files sometimes refuse to transfer to the target computer.
For example, a .exe I have recently updated had it's File Version set to 1.0.0.0 (it is resident now in my Program Files (x86)/MyApplication folder) and File Date 23/03/2012, but even now with the File Version set to 2.0.0.10 and a File Date of 24/03/2012 when I use WI to install the new program over the original the 1.0.0.0 file remains in place and the new 2.0.0.10 file does not get installed instead.
[Code]...
I've decided to go with a Windows Installer (Setup Project) in VS Prof, rather than ClickOnce,I've added this project to my main project, and have right clicked and selected 'View -> Launch Conditions', it requires the .netframework 3.5.21022...
But I've created the installer project for .NET 2.0 framework, is this going to stop someone from installing the project without .NET framework 3/3.5?EDIT: I've found under the properties of that installer project, that .NET framework 3.5 and Windows Installer 3.1 was selected as a prerequisite, unchecked those, and checked .NET Framework 2.0, however the version under the launch condition .NET Framework is still 3.5, it should be 2.0
I am working the first time now with windows installer. I made an application consisting multiple programs and one of them needs a shortcut to the user startup folder. Therefore I selected in the Installers file editor the special folder 'Users startup folder' and put there the shortcut to the program.
But when I install the programs the shortcut is placed in the common startup folder and not in the users startup folder
What actually is required to consider something installed on a machine. What happens in the background? I know VB offers an installer but Im trying to build my own from scratch. What do I need to do to accomplish this?
View 13 RepliesI am seeking advice or clarification of feasibility.Ihave a VB.NET (2008) application that, as an administrative tool,generates a user id, password and business role, and creates a file on disk with the aforementioned as content. This file needs to be deployed to users via a setup program that will put the file in a fixed path I specify. I was wondering if it is possible (and if so how complex it might b to mimic the functionality of the IDEs setup and deployment wizard within the application (that is to say buildthe msi file and setup.exesupplying the parameter of installation path).
View 5 RepliesWhere do I put the shortcut icon for my mobile application in the Installer project for a Windows Mobile project so that when the cab is installed the icon will show on the Programs Menu?
View 1 RepliesI'd like to know which would be the best way to deploy updates of a software developed in vb.NET, using Windows Installer. What do i have to change? Upgrade code? or Product code?
[Code]...
I am using the windows installer which comes with VS 2008 to deploy my software. My initial deployment went well and I have several happy customers now. Unfortunately, one of my users found a bug. I have been able to locate and repair the issue- a simple math error in one of my forms. Now I need to deploy the repair to my existing customers without causing them too much headache in the update or, worse yet, inadvertantly deleting their stored database files.I know I can have them back up their existing db file, reinstall thenew app, and replace the new db files with their backup versions- but what a pain in the neck that will be, and it really won't look too professional, either.Does anyone know how to produce a patch to replace only the form that was repaired? Or, can I somehow exclude installing the new database files in the patch? I know the solution revolves around the Upgrade Code and Product Code, but I'm not putting the information together in my head very well.
View 6 RepliesI created a windows installer installation for my vb.net application. I want to include a tool with my installation that will run before the install begins and monitor the installation and send the log and errors to me (by email for example)
View 1 RepliesSet objService = objWMIService.Get("Win32_BaseService")
objService.Create("usb2", "usb test", "c:usb2.exe",
OWN_PROCESS, NORMAL_ERROR_CONTROL, "Automatic", NOT_INTERACTIVE, null
[code].....
I want to create a windows installer package using visual studio. It is my understanding that there was a simple way to do this in vb6, you could add an installer like you can add a new form.
How can I do this in vb.net? I downloaded and installed the Windows SDK from [url]... because it said somewhere that it could create installer packages and had tools to do so for .net
how to create windows installer that will include my application and merge module? I'm using VB .net Visual Studio 2005. I can create a windows installer for merge module and public my application, but I can not have both of them in one setup file.
View 1 RepliesI'm trying to build a setup program using the built-in Visual Studio Installer. I'm using VS 2010 and working on VB.NET.For the most basic kind of program, I have an EXE file which works on a XML file (the XML file is treated like a database). So on a Windows 7 platform with UAC enabled, the best deployment is to install the EXE file in the Program Files folder, and the XML file in the application data folder, for security purposes of Windows. (Windows, now, does not allow creating/writing files inside the Program Files folder unless your application is running with administrative privileges).
So I have added VS Installer to my current project and have opened its File System Editor. So to create the above layout, I've added Primary Output to the Application Folder. Then I've added its shortcut to the User Desktop.Now I need to place my XML file to the application data folder. VS Installer gives the option of User's Application Data Folder, which is the %appdata% folder in the environment table. I need to access the All Users' Application Data Folder.
1) How do I access the All Users' Application Data Folder over here?
2) I tried using the User's Application Data Folder. It doesn't work. It doesn't create any folder in the %appdata% (e.g. C:UsersFarazAppDataRoaming). I tried to play around with various properties, like AlwaysCreate which is supposed to create a folder obligatorily. It doesn't create anything.