Select The Installation Directory Using Click Once Deployment?
Jul 20, 2009
I have developed a WinForm app using vb.net. The app needs to send an email notification to users containg the id of an item that needs thier attention. The email needs to contain the link and commandline parameters so that the user can clik on the link and the app will open the correct form, with the item to be updated, already loaded. Click Once installs the app under the users directory ("Documents nd setting\%USERNAME%Start MenuPrograms\%AppName%..."), so, the email has to contain the user name as part of the path.
- How can click once be configured so that the instalation is in the program files directory to avoid having to add the username as path of the path?
- how do send a link which contains a parameter that directs the app to load a speciified form (not the startup form)?
View 4 Replies
ADVERTISEMENT
May 24, 2009
I just made an application using MySQL for the database. I use WAMP.Can I combine WAMP and my application installation into one packet installation ?
View 2 Replies
Jul 8, 2011
I have a application that I deployed to web server. Users go to "publish.htm" deployment web page to install my vb.net application. Where is the application installed? I don't think it is installed under "Program Files" like others.
View 2 Replies
Sep 11, 2009
I have a problem with installation in Vista. I have complied my vb.net 2.0 application using innosetup last month and installed it successful but after that i changed icon in my application and complied again. On windows vista machine i tried uninstall old version and installed new version. But the desktop and startmenu shows old icon. Does it mean uninstall did not removed the old icon ? It works fine with windows xp.
View 3 Replies
Apr 14, 2009
Is there a way to set the installation path of my program to c:Foldername.
question number 2 is that I have 2 database files which is located in m� program, is there a way to copy these to a spesific location during the installation of the program?
View 1 Replies
Apr 20, 2009
My company has an application that until now has been distributed as exe-file together with lots of dlls. I am about to make an installtion program for this application, but there is one big problem. The database can be both access and SQL, the user decides by what he/she writes in the connection string in the .config file. I know how to insert a custom action in the installtion program to enable to let the user chosse this during installtion, but I don't know how to include the database in the project, especially since it can be both access and SQL.
View 3 Replies
Oct 28, 2009
how to create an Installation file in VB.Net. I create via Setup Project in Setup & Deployment . But how i add Shortcuts , Licence agreement, Serial no and Welcome notes.
View 2 Replies
Nov 26, 2010
The 'DefaultLocation' for my application is set to '[ProgramFilesFolder]MyApp'. Now I would like the user to select what drive to install this application to. I know this is accomplished through the 'Installation Folder Selection' dialog, but I want the user to be able to select a drive only, not the entire path.
My question is how do I capture what drive the user selected from the 'Installation Folder Selection' dialog and use that drive letter to tack on to my 'DefaultLocation' variable?
[Code]...
View 2 Replies
May 4, 2011
I need help changing the default installation directory for a deployment package installer. The application's default directory is currently: [ProgramFiles][Manufacturer][ProductName].
What would I change this to, so that I can install the software directly on the root drive; Such as 'C:ManufacturerProductName'?
View 3 Replies
Jun 10, 2009
The default installation of my setup project is as follows:
[ProgramFilesFolder][Manufacturer][ProductName]
The problem is PC in Europe don't have a "Program Files" folder, it's in a different language.When I remove [ProgramFilesFolder] from the setup program, the installation doesn't work. I would like to install the application in C:AppFolder,
View 1 Replies
Mar 27, 2011
I have a vb.net windows form app that I am deploying as using the visual studio deployment project. The app needs to write event logs to the application log in the event viewer. For reasons explained here I need to create the event source during the installation process. Something like this to run as part of the installer
If Not EventLog.SourceExists(My.Application.Info.ProductName) Then
EventLog.CreateEventSource(My.Application.Info.ProductName, "Application")
End If
That code needs to be run during the installer with elevated privileges. So my questions are:
How do I execute that code above as part of the installer? How do I get the installer to do the UAC prompt to allow that code to run as part of the installation?
View 1 Replies
Mar 21, 2012
I've written an application [Visual Studio 2005 / VB) that works fine when I build it on my Win 7 PC.But when I try to install it XP as a test it falls over imediately on a 'file.exists' call made to establish if the data file exists or not (and if not then create it).
But it raises an exception because it can't find the directory that the file is supposed to be in. For the files location I was using Application.ExecutablePath but on the XP machine it is some weird directory like
Code:
[Code]...
View 6 Replies
Jun 8, 2010
I am finishing a project for a client , however I am having an issue with the registry. How do I get installation directory path from the .net registry?
View 10 Replies
Dec 9, 2010
I am using Visual Studio 2005. I have just figured out how to create a Custom Action during installation, but I can not figure out how to get data from the installer. Following is the simple test code that I am trying to use to call the directory that the user defines during installation, but the Path string is not returning anything.
Public Overrides Sub Install(ByVal stateSaver As System.Collections.IDictionary)
MyBase.Install(stateSaver)
Dim Path As String = MyBase.Context.Parameters("targetdir")
Dim AppConfigFile As String = Path & "FilesAppConfig.txt"
MsgBox("The target filepath is: " & AppConfigFile)
End Sub
I have tried many other things, such as...
Me.Context.parameters("targetdir")
stateSaver.item("targetdir")
And I entered /INSTALLDIR="[TARGETDIR]" in the custom action data property.
View 1 Replies
Jul 8, 2009
Alright, my program requires a folder to put the save files in, and it works fine to create it when I know where the program was installed to. I want to assume that everyone will install to C:/Program Files... however, one cannot assume. Is there a way for me to find out where the program was installed to ie. D:/WorkPrograms/ProgramHere, instead of the Program files? Specifically, is there some sort of code that I can run at startup to find where the program file is, so I can keep all the save files in there?
View 3 Replies
Mar 16, 2011
I have started working on the module based application (plugin based architecture) and client want setup of module that can be run later and added automatically in main application. So, what I am thinking to apply in module setup project is to find the installation directory of main application and then paste dll of module in specific sub-directory.
Is it possible? Is there any other way to add feature in main application later using setup?
View 10 Replies
Mar 18, 2009
I am trying to publish a project. Via the publish wizard I have published the project. So I have:Project.applicationSetup.exeand a directory application files in which:Project.applicationProject.exe.deployProject.exe.manifest. When I start the setup it does it's thing (only one question: do you want to install ...etc) and 2 seconds later its done.
Problem:
1. I can't find the installation directory... (I can find the app in the 'add/remove programs' but not anywhere in program files or ..)
2. there are a few xml and mdb files I want to include in de project (or else the project does not work).
But because of (1) I don't know where to do so. Or beter yet, I would like to include these files in the installer.3. Why doesn't the installer ask me where I want to install?
View 5 Replies
Apr 27, 2009
I am using VB 2008 express. I created a setup file for installation using the publish command. When I install on another computer, it installs under the documents and settings directory. I want it to install under program files like most other programs.
I've search everywhere on the web for this. The closest thing i could find was talking about the DefaultFolder under the projects applications folder. I don't see that option. I can specify all the publication directories - but these are strictly for where VB creates the setup file at - not where the setup file installs it. Frankly it would be really nice to be able to allow the user to specify the directory as an option, with program files as the default. But for now I'd be happy to just be able to change the default install directory for my app.
View 5 Replies
Mar 1, 2010
I've developed a VB.NET console application and tried to use the Build | Publish menu option in Visual Studio 2008 to create a Setup. It works fine except two things:
- when I run the Setup on a Windows 2003 Server, it installs the application in the C:Winntprofiles\Local SettingsApps2.0 directory. How can I configure the setup so that it would prompt for a target directory for the application?
- After the Setup is complete, it starts the application automatically. How can I suppress the auto-start?
View 1 Replies
Jan 20, 2011
My app has a folder that has some xml documents which is or should be created within the installation Directory. What is the best / most problem free method to access the installation directory: [code]
View 6 Replies
Apr 8, 2011
I am going to need to create a windows form for work that we can connect to a database table, select a directory and move files from the directory that are in the table and move to another folder. The directory will have sub directories that I need to search for the file name and move. I would like to have the table hold the file name (or path) and move all files that are in the database. There might be 20 files or 1000. Depends on the client we are processing for.
[Code]....
View 3 Replies
Oct 28, 2009
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 Replies
Apr 11, 2009
Where 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,
View 1 Replies
Sep 11, 2009
I have created a resource directory loaded with 10 mp3 files in it and added it to the resources tab. The problem I am having is when the program is compiled and installed, it does not add the resource directory to the hard drive. I know that resources can be added into the applications files in the publish tab but cannot seem to figure out how to get it listed or added in there.I also took each mp3 and set the build action to Embedded Resource... That didnt help much though.The resource directory i want to include in the deployement is in my bin/debug/resources in the solution explorer.
View 6 Replies
Aug 17, 2011
I'm trying to public a VB program and I want to install the program from the same directory I am publishing it to which is a file path of the form P:DirDir. This doesn't seem to be working... In the publishing folder text box I have a file path but it won't allow me to put that same file path in the installation folder text box... and it has brackets (if different than above) over the installation folder text box so that should mean it is not a required text box.. but when I go to publish now it asks for me to put a path in there.
View 6 Replies
Sep 8, 2009
Is there any way to change the installion of a click once app to the program files location so that it will be availabe to all users? Right now it is burying the location of the files within the user folder.
View 2 Replies
Jun 30, 2010
I am creating a windows application setup project using Visual studio 2008 setup project. This setup will have following steps[code]...
View 1 Replies
May 14, 2011
does VB2010 express offer a different deployment than Click-Once?
On the MSDN help pages i did not see any of the items that were described when using File->Add-New Project.
View 3 Replies
Jul 7, 2009
IDE :: Click Once Deployment
View 1 Replies
Feb 5, 2010
I am deploying my application on a 64 bit windows 7 system (setting the platform property to x86) , after the installation process the app needs to set its connection string in the config file; and this is where I am having issues, the app is not able to write to the config file if/when its located under the program files directory (no admin privileges??), the app works fine when installed on a public folder.Please let me know how to give admin or write access to my app when its installed to the default program files directory
View 2 Replies