PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
How do you update Installation URL in Setup.exe?
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
How do you update Installation URL in Setup.exe?
![]() |
How do you update Installation URL in Setup.exe? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Howdy folks,
I am publishing a smart client that gets copied to several servers between development testing, formal testing, and production. I use mage.exe to update the provider url in the application files whenever a version of the smart client is moved from one server to another. The problem, however, is that the installation URL seems to be embedded within the setup.exe file that gets executed when the client doesn't have the .NET 2.0 framework installed. Here are the steps that produce the problem: 1.) Publish the application with an installation URL of http://localhost/Applications/SmartClients/AppName/ 2.) When the files are copied to the destination server (different from localhost), run mage.exe to modify the provider url and apply the certfile. 3.) When the URL to publish.htm is loaded on the client machine, the page says that the .NET 2.0 framework is required, click "Install" to install it. 4.) The Install button is clicked on the publish.htm page and setup.exe is run on the client machine. The .NET 2.0 framework is installed, and then it attempts to download the smart client. At this point I get the following error: "An error occurred attempting to install AppName". Expaning the details reveals that it failed to download the "AppName.application" file, but the URL its using is the box it was originally published on. Is there a way to update setup.exe so that it knows where to get the application after the .NET 2.0 framework is installed? Thanks, Dan |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

