I have a click once application I will send to different clients, each client will host the application and will have different users to install the application from their servers, this means I don't know the server name or the virtual directories. I have created console application which handles changing the manifest files and re-signing them, but I am having problem with 2.0 setup installation. I have set in the visual studio to have the dotnetfx.exe installed from the client servers not from MS site. but I am unable to find the command where I can specify 2.0 setup directory
Step1:
msbuild Test.sln /target:publish /property:PublishDir=C:\Client\Test\source\ /property:ApplicationVersion=9.1.1.4051
the above command is responsible for building and publishing the application to the directory specified
Step2 : Done by the console application which is working , ofcourse I have command params to set servername and virtualdirectories.
mage.exe -u Test.application -pu http://ServerName/TestWeb/Test.application?p1=Test
mage.exe -sign Test.application -cf Temp.pfx -password pass@word1
the above examples work.
When the user who does not have net 2.0 installed, clicks on install button, someow dotnetfx.exe is being fetched based on the original build machine which is my development machine.
How can I specify the dotnetfx.exe should be installed from http://ServerName/TestWeb/and not my machine where the actually build was performed.
No theoretically solution (this is not abstract solid geometry), if you have solid proven command lines like the examples above please post.