App.config Setup And Deployment
Jan 31, 2011
how to setup my deployment project so that users can customize thier own settings in app.config? Which special folder in the File System browser should I add, Personal Data, Application Data, or Programs Menu? How do I add the app.config to the folder? What about the project output, should it also be in the same folder? If so, should the project output be taken out of the Application Folder, in other words, exist in one place? I tested my deployment and was shocked that the icon only opened on the test user's pc after installation. I have custom settings in the app.config file that have default values, but must be configurable for user specific settings.
View 3 Replies
ADVERTISEMENT
Apr 2, 2009
add serial number requirement to Setup & deployment > setup wizard for VB.net application
View 16 Replies
Nov 3, 2009
i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?
View 1 Replies
May 7, 2012
Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?
When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?
View 5 Replies
Jan 22, 2008
I hv deployed my project using "Setup and Deployment" wizard. I hv installed MS VS.NET 2003 Bootstrapper Plugin -> A plug-in for creating deployment projects in Microsoft� Visual Studio� .NET 2003 that contain the .NET Framework version 1.1 and/or Microsoft Data Access Components (MDAC) version 2.7. still it is giving the error The setup requires .NET Framework 1.1.4322. Install the .NET Framework and run the setup again. The .NET Framework can be obtained from the web. Would u like to do this now?
[Code]...
View 1 Replies
Apr 21, 2010
I've created a console VB.Net application and encrypted the app.config file with RSAProtectedConfigurationProvider.I've used an article http:www.codeproje...eAppConfig.aspx as an example for the Encryption. It works fine in an IDE on my XP desktop.Then I deployed my application to a Windows 2003 server. The package included the app's executable along with the encrypted app.exe.config file. However, the application failed on the server with the following exception:Unhandled Exception: System.Configuration.ConfigurationerrorsException: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened.I decided to encrypt app.config on the server so I copied app.config and encrypted it. The app.exe.config looked encrypted and I ran the application. However, it failed: although it didn't raise an Rsa exception as before,
[Code]...
View 1 Replies
Jul 10, 2009
I am trying to replace the following section to blank section
<secureWebPages mode="RemoteOnly" encryptedUri="abc.co.uk" unencryptedUri="www.abc.co.uk" maintainPath="True" warningBypassMode="AlwaysBypass" bypassQueryParamName="BypassSecurityWarning" ignoreHandlers="WithStandardExtensions">
<files>
<add path="abc.aspx"/>
</files>
</secureWebPages>
But after executing it is giving me the following error
WDP00002: missing section secureWebPages/configuration.
View 1 Replies
Aug 11, 2009
I'm brand new to this forum. i have a question. i wrote some software a while back and now have a few new features I need to implement. this software currently makes use of "application settings" to store all of it's settings. Which works just fine.
I have a client that has about 40 users. He wants to be able to share his settings (that he set up in his copy of the software) with all of users. Preferably by distributing a copy of a config file that they would be able to import into there software.
View 1 Replies
Apr 21, 2010
I've created a console .Net application and encrypted the app.config file with RSAProtectedConfigurationProvider. It works fine in an IDE on my XP desktop. Then I deployed my application to a Windows 2003 server. The package included the app's executable along with the encrypted app.exe.config file.
However, the application failed on the server with the following exception: Unhandled Exception: System.Configuration.ConfigurationErrorsException: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened.
I decided to encrypt app.config on the server so I copied app.config and encrypted it. The app.exe.config looked encrypted and I ran the application. However, it failed: although it didn't raise an Rsa exception as before, it couldn't read a connection string. After I decrypted app.exe.config, I found that it contained only the below string
although the original app.config had contained an application-specific connection string. I think that in order to resolve my issue I should export the RSA keys from my desktop to the server. Can you advise how can I do it (it's not a Web application!).
View 1 Replies
Mar 7, 2011
I have three Setup and Deployment problems that are making me even more crazy than I have been accused of currently being.#1 - My project(heavy on text file streamreaders) installs as it should on the target machine but I can only run it on said machine as administrator(works great)... I have tried changing the permissions on the installed project and that did not seem to work. Error - blah blah cannot access [filepath]? ([filepath] is correct and verified. Ideas? Can I set permissions in the install itself? How so?
#2 - #3 (Basically the same questions)I have directed Setup to install a Program Menu and Desktop Icon and it does so. The problem is that the icons are non functioning. I dont see where I can set an actual filepath for them in the Setup menus?A good tutorial on VB 2010 Setup and Deployment wouldnt hurt if anyone has a link.
View 1 Replies
Nov 17, 2010
cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data source=C:solutionvs10 est estinDebugdb2.mdb;**Jet OLEDB:Database Password=secret**")
cn.Open()
''# codes
cn.Close()
I used V S 2010 The above is my code u can see that it is Ms Access DataBase(password protection)How i can create a setupb that can be easy to install other computer.
View 4 Replies
Oct 29, 2009
I have application developed in vb.net 2005 with sql server database and also used crystal report in it. I have make the setup files using deployment wizard. Now the problem is that when I install the setup files, it work on some pcs while didnt run on some others. Framework 2.0 is in its prerequisites which I install before running setup. When I try to see error message, it gives server time out.
View 5 Replies
Jun 21, 2010
My suggestion is how to use the setup/deployment project - and also how to add it/incorporate it into the project being built.
View 3 Replies
Aug 15, 2011
When i am running my application on my machine at that there is no problem but when i am running on diffrant machine at the time login failed is occurring
View 1 Replies
Jan 3, 2011
I have created an windows application in VB.NET 2008 ad want to create the setup but due to newer in VB.NET i could get expected result from the setup such as....
1.I want to deploy only those items which are highly needed.
2.I want to check the system requirement ie.version of framework,sql database,crystal report etc..
3.I want to set the automatic connection string to the databsase such wherever theaplication will be install it have to be run successfully.
View 1 Replies
May 10, 2012
When setting up the user interface I can add a radio buttons dialog with 2 buttons. How do I use the response to determine whether to display the installation folder dialog and custom actions?
View 4 Replies
Apr 4, 2009
can i do something like this : -when i uninstall the program, mydb.mdb is not deleted and stay still. -when i reinstall the program again, the setup and deployment will check if mydb.mdb is already exist or not in the installation path, if mydb.mdb is already exist,then it would not be replaced(still using the old mydb.mdb). but when mydb.mdb is not exist in installation path, the setup will copy mydb.mdb into the installation path
View 12 Replies
Jan 14, 2008
I have VS 2008 VB project that I have created a Setup and Deployment project for.When the install starts, it give a message that .NET 3.5 is required and asks if the user wants to download.On the programs Advanced Compiler Settings, I have the Target Framework set to .NET 2.0, but the deployment still prompts to download .NET 3.5.
View 11 Replies
Jan 8, 2010
What do you think is the best free setup and deployment package for VB.NET? Which is easiest to use?
View 4 Replies
Oct 2, 2010
ive just completed my app and i created a setup and deployment project.Complier forced me to exclude wmp.dll
i get this error for about a second before the app launches. Losing my splash screen because of it
I thinks it has to do with the .dll, but ive no clue how to fix
View 4 Replies
Feb 12, 2012
best free setup and deployment package for VB.NET? Which is easiest to use?
View 2 Replies
May 4, 2012
So I have a simple Outlook Add-in I've developed and that works, i.e. when I
build the project the add-in is available to Outlook and is loaded. Works great. And so to distribute the add-in here at work I want/need to create a setup deployment project, which I've added to my add-in solution. I followed the walk-though from here: [URL]
[Code]...
View 2 Replies
Jun 22, 2009
Am I crazy or is there no Setup and deployment for the standard edition?I have already ran the install template command with no luck so I have to wonder if it is included. It should be listed under Other project types, but it is empty.
I cannot use the application I build because I am using the MS Power tools shape control and I cannot find anyway to add it when I build my application and looking up info on the Power Tools there is a check box that you select in the setup and deployment which I don't have.
View 12 Replies
Jul 7, 2010
setup and deployment project walkthru? creating a setup and deployment project in Vs2008
View 7 Replies
Mar 7, 2009
I have 2 different VB.Net applications. How can i deploy these two applications with a single installer package.
View 2 Replies
Nov 9, 2009
Maybe I'm just searching around for the wrong information, but are there any good tutorials on Deployment or setup projects? I can make the little auto wizard that VS2008 makes for you, but my app needs more custom options. For instance my app will set up SQLserver 2008 and create the tables in it, but I can't find any useful info about how to make a custom setup/msi app.
View 1 Replies
Apr 26, 2012
For my .Net desktop apps I usually create an MSI installer (I create a 2nd project in my solution, a Setup & Deployment project) and I zip the setup.exe file with the <appname>.msi files together and put them up for download on my site. The installer will go through the process of asking where they would like to install the application (it creates the needed shortcuts and everything).
Right now I'm looking at adding a feature to some of these programs where it'll periodically check it's corresponding xml file on my web server and see if there's a newer version of itself available. I have this portion working just fine, where I'm stuck is that I would like to have it download a separate msi installer to update itself.
The idea is that it would download this different msi file, execute it while the app closes itself. This msi would not ask any questions, it would simply update the needed files in whatever location the first msi installer put the app. When this updater msi is done, it would just re-start the application.How would I go about making an msi installer that doesn't have any prompts and installs the application where ever the first msi installer put it (where ever the user chose to install it to)?
View 8 Replies
Mar 23, 2011
I have been googling and searching many different forums for what I think should be a fairly straightforward answer, but I am unable to get it to work, or find the proper way to get it to work. the closest that I seem to be able to find the answer is along the lines here: [URL]
I have a similar setup, where I have three projects defined, one is my UI, one is my DB Access, and one is my real logic. DB Access and Real Logic are dll's, and each have their own app.config file, that when I build individually, it renames to mylogic.dll.config in the debug directory like it should. The dll.config file at the moment contain only Logging Application Blocks from the EntLib 5.0 library.
However, when I build the main exe, only the exe.config is there, and the dll.config's are not. Now, for one of them, I have gotten around it by changing the name of the file in VS to mylogic.dll.config, and set it to copy to output always. This works, as if I change the level of logging in the config, its changed next time I run the program. However, to get that to work, in my Logic class, I needed to specify the name of the config directly to the Logger, which I would prefer not to do.
Now, to compound the issue, in the DB Access dll class, I want the config to hold Logging Application Block config settings, but it will also hold other settings, such as the connection string to connect to the DB as, and so on, and if I rename it from app.config, then the standard VS tools (like XSD Designer) dont work.
So, for something that seems to be so elementary, I cant seem to figure it out... perhaps my logic is wrong... but in the end, I dont want to need to manually merge the different app.config's from the dll's into the exe app.config by hand, as this is very error prone.
View 3 Replies
Jun 30, 2010
I would like to add a choice of icons to the desktop shortcut I add in setup/deployment. I can add one icon, but when I run the project there is no option for changing it. The "change icon" button is greyed out. I've made a dll containing 3 icons and added it to the setup/deployment project (also added it to the test project).
View 1 Replies
Mar 5, 2010
Setup and deployment project template is missing in my installation
View 2 Replies