-
May 1st, 2013, 01:39 AM
#1
Thread Starter
Addicted Member
Deploying ClickOne application with network share
-
May 1st, 2013, 10:08 PM
#2
Re: Deploying ClickOne application with network share
I use click once, but my publishing folder = installation folder, and it works fine from the network. From what I have gathered (and I could be wrong), I am under the impression that the install folder path is where the published files need to be manually copied to in order to distribute the application to your users. Did you try to make the publish folder = install folder (on the network share) to see what happens? If it installs then, I would suppose that is your problem.
-
May 1st, 2013, 11:36 PM
#3
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
Originally Posted by jayinthe813
I use click once, but my publishing folder = installation folder, and it works fine from the network. From what I have gathered (and I could be wrong), I am under the impression that the install folder path is where the published files need to be manually copied to in order to distribute the application to your users. Did you try to make the publish folder = install folder (on the network share) to see what happens? If it installs then, I would suppose that is your problem.
Thanks for reply
I have already tried by making publish folder = install folder,but it is not working
-
May 2nd, 2013, 12:10 AM
#4
Re: Deploying ClickOne application with network share
Are the client computers installing directly from a network share, or have they mapped a drive? Your situation would make sense if they have not mapped a drive with the same letter. Since it is "D" that may not be possible.
-
May 2nd, 2013, 12:33 AM
#5
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
Originally Posted by circuits2
Are the client computers installing directly from a network share, or have they mapped a drive? Your situation would make sense if they have not mapped a drive with the same letter. Since it is "D" that may not be possible.
Thanks for reply
Actually my PC name is PC97. I am publishing in my PC,so I gave local path to publishing(Some error coming if i use UNC path for my own computer while publishing) and UNC path for installation.I dont think that is the problem because i already checked by giving another computer UNC path,same for both publish and installation and it did not solve the problem
-
May 2nd, 2013, 01:19 AM
#6
Re: Deploying ClickOne application with network share
What I do on my development computer is create a network share and then map the drive using a letter that can be mapped on clients. Then I set the publish and install path using the local drive letter that is mapped, which will be the same path for clients.
For example:
On Development Computer -> Create Network Share: \\pc97\D\Desktop\publish
On Development Computer -> Map Network Drive "G" (mapped to \\pc97\D\Desktop\publish)
Set ClickOnce Publish Path to G:\
Set ClickOnce Install Path to G:\
On Client Computer -> Map Network Drive "G" (mapped to \\pc97\D\Desktop\publish)
Now all of your paths should match whether you are on develop or client.
-
May 2nd, 2013, 02:13 AM
#7
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
Originally Posted by circuits2
What I do on my development computer is create a network share and then map the drive using a letter that can be mapped on clients. Then I set the publish and install path using the local drive letter that is mapped, which will be the same path for clients.
For example:
On Development Computer -> Create Network Share: \\pc97\D\Desktop\publish
On Development Computer -> Map Network Drive "G" (mapped to \\pc97\D\Desktop\publish)
Set ClickOnce Publish Path to G:\
Set ClickOnce Install Path to G:\
On Client Computer -> Map Network Drive "G" (mapped to \\pc97\D\Desktop\publish)
Now all of your paths should match whether you are on develop or client.
I don't think that is path problem,because i checked my publish folder and only Global.XmlSerializers.dll file is not publishing
-
May 2nd, 2013, 07:58 AM
#8
Re: Deploying ClickOne application with network share
I would say it would appear that even though "Global.XmlSerializers.dll" is set to publish, its either not being published or not in the expected directory that you have setup. Try deleting the debug/release in the /obj/ folder in your project and let VS rebuild it. See if that helps?
-
May 3rd, 2013, 04:46 AM
#9
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
Originally Posted by jayinthe813
I would say it would appear that even though "Global.XmlSerializers.dll" is set to publish, its either not being published or not in the expected directory that you have setup. Try deleting the debug/release in the /obj/ folder in your project and let VS rebuild it. See if that helps?
No,this is also not working.All other files are publishing,i don't know whats wrong with "Global.XmlSerializers.dll"!!
-
May 3rd, 2013, 05:52 AM
#10
Re: Deploying ClickOne application with network share
You could maybe try including it in a new project and see if it publishes correctly? Then you know its definitely the publish option for that project and thats where you will need to focus. Sorry, I know thats a non answer.
-
May 8th, 2013, 06:42 AM
#11
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
It published when i added reference to it. Files will be published only if we add reference?
Actually "Global.XmlSerializers.dll" will be created after building of our project.
Last edited by winman; May 9th, 2013 at 01:40 AM.
-
May 13th, 2013, 08:52 AM
#12
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
We have a internal application developed using VB.NET. Before we were creating a shortcut of application in all users PCs and we pass argument to shortcut like "D:\desktop\coding_files\bin\Global.exe" ?/?Tasklist?/? where tasklist is a database name we pass as argument to application. Now we are looking forward to use clickone application and i tried to pass argument to clickone application shortcut but it doesn't seems to responded to arguments. Is there an way to do it?What to do?
-
May 13th, 2013, 09:45 AM
#13
Re: Deploying ClickOne application with network share
Its because click once uses a .application file and not a typical shortcut.
http://briannoyes.net/2004/08/10/Har...Arguments.aspx
-
May 13th, 2013, 11:23 PM
#14
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
Originally Posted by jayinthe813
You mean there is no way to pass arguments to shortcut?
-
May 31st, 2013, 12:45 AM
#15
Thread Starter
Addicted Member
Re: Deploying ClickOne application with network share
Hi,
I have created a application for passing arguments to clickone application using following code
Code:
Imports VB = Microsoft.VisualBasic
Public Class Form1
Dim argsToPass As String = VB.Command
Dim shortcutPath As String = "\\pc127\d\desktop\Global.appref-ms"
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
System.Diagnostics.Process.Start(shortcutPath, argsToPass)
End Sub
End Class
And i pass arguments to shortcut of this application.
I have used this code to receive arguments in clickone application
Code:
Dim activationData() As String = AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData
arg = activationData(0)
I passed argument like ?/?customer?/? to my initial app and it is receiving as ?\?customer?\? in clickone application(In arg = activationData(0) statement)!!. What made to change / to \ while receiving argument? pls help
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|