Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > errors locating prerequisites
 

errors locating prerequisites

I have several prerequisites included in my application and have selected the option “Download prerequisites from the same location as my application�.

Here are the steps I follows:

I publish my application to my local development machine.

After publishing and verifying the app I want to deploy it to the QA site.

I use the Magui.exe to change the start location url to the QA site.

I then copy all the files to the production site.


The problem is when the users install the application the application is pointing to my development machine for the prerequisites. I am doing something wrong in the deployment process to the QA site?



Thanks

John Luke  Thursday, August 13, 2009 5:53 PM

Are you also modifying the URL stored in the setup.exe file that points to your ClickOnce application?

If you drill down using a command window and type in

setup.exe -?

you will see the options to change the information. For example, here's how to change the URL it uses to find the ClickOnce application:

setup.exe -url=http://www.mynewplace.com/myapplication.application

To change the URL it uses to find the prerequisites,

setup.exe -componsentsurl

RoibnDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Thursday, August 13, 2009 11:52 PM

Are you also modifying the URL stored in the setup.exe file that points to your ClickOnce application?

If you drill down using a command window and type in

setup.exe -?

you will see the options to change the information. For example, here's how to change the URL it uses to find the ClickOnce application:

setup.exe -url=http://www.mynewplace.com/myapplication.application

To change the URL it uses to find the prerequisites,

setup.exe -componsentsurl

RoibnDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Thursday, August 13, 2009 11:52 PM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, August 20, 2009 7:19 AM

You can use google to search for other answers

Custom Search

More Threads

• handling proxy servers with controls in IE
• Marking bunch of files as Data in publish status
• Choosing a location to install a file based on a registry key
• how to increase permission of a partially trusted application
• Create a folder with a certain name
• An error has occured writing to the hard disk. Check if there is enough available space on the disk.
• Client with Vista OS cannot download signed cab file containing J++ com
• Major HASH code deployment problem - Microsoft Fix / Workaround Included!
• Click Once Deployment Scheduling
• Publish C++/CLI project