|
Hello,
I've created a programme andI would like to have it installed on another computerby the use of a CD-ROM. I read the help section of my Visual Basic Express Edition on that, however I'm not so sure of what to do since, I don't know if I'm to add the installation file (setup file) for .NET Framework 3.5 SP1 since its one of the prerequisites selected in the Prequisites dialog box.
This is it: I published it and tried to see if I could install the programme on other machine but that machine didn't have .NET framework 3.5 SP1. So my question is on selecting the .Net Framework 3.5 SP1 in the prerequisite dialog box, how do I let the ClickOnce deploymentadd the setup file for the framework so that it can be installed prior to the programme on a machine which doesn't have it.
From what I read it looks like I can select the options.
1. Download prerequisites from components vendor's website. 2. Download prerequisites from the same location as my application. 3. Download prerequisites from the following location.
So I'm trying to guess that the first option means during installation the user will have to download the prerequisites from a site.
The second I think means the setup for the framework would be included in the folder in which my application is in, during installation by the user.
I'm I right here??????? And how would I add this setup file before publishing it then.
I think the third means a specified location I'm giving.....I'm not so sure, i'm getting confused here.....
----------------------------------------------------------------------------------------------
The other thing is I've got audio files playing within the programme that I placed in the resource folder. I want to know how these audio files will be included in the published folder because after publishing the first time I didn't have the resource folder in the published folder for the programme to be deployed.
I'm new to VB.NET entirely so I need some help and explanations if any can be offered.
Thanks. | | Stripes3 Thursday, July 16, 2009 3:49 AM | Hi Stripes3, The first option mean .NET Framework will be downloaded from Microsoft offical web site. The second option mean .NET Framework will be packaged along with your application, your user doesn't need to download from net, it is suitabled for a user with no network connection. The third option mean you can put .NET Framework on your own server, let your user download it from that. .NET Framework is always being installed priorty to your application. It is totally controled by the bootstrapper. You don't need to care or write any code to control it. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Marked As Answer byKira QianMSFT, ModeratorWednesday, July 22, 2009 6:40 AM
-
| | Kira Qian Monday, July 20, 2009 3:52 AM | About the audio files: Are these listed in your projectin Visual Studio? You need to have them listed there, and set the Build Action to "Content" and the Copy to Output Directory to "copy always". *OR* If you have added them to a resources folder, presumably they are being deployed as embedded resources instead of separate files, and you can access them programmatically by accesing the resources (theResourceFile.MyAudioFile or something like that). If you deploy them as files, you can find them using System.Windows.Forms.Application.StartupPath plus whatever folder you put them in. RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byKira QianMSFT, ModeratorWednesday, July 22, 2009 6:40 AM
-
| | RobinDotNet Tuesday, July 21, 2009 5:57 AM | Hi Stripes3, The first option mean .NET Framework will be downloaded from Microsoft offical web site. The second option mean .NET Framework will be packaged along with your application, your user doesn't need to download from net, it is suitabled for a user with no network connection. The third option mean you can put .NET Framework on your own server, let your user download it from that. .NET Framework is always being installed priorty to your application. It is totally controled by the bootstrapper. You don't need to care or write any code to control it. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Marked As Answer byKira QianMSFT, ModeratorWednesday, July 22, 2009 6:40 AM
-
| | Kira Qian Monday, July 20, 2009 3:52 AM | About the audio files: Are these listed in your projectin Visual Studio? You need to have them listed there, and set the Build Action to "Content" and the Copy to Output Directory to "copy always". *OR* If you have added them to a resources folder, presumably they are being deployed as embedded resources instead of separate files, and you can access them programmatically by accesing the resources (theResourceFile.MyAudioFile or something like that). If you deploy them as files, you can find them using System.Windows.Forms.Application.StartupPath plus whatever folder you put them in. RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byKira QianMSFT, ModeratorWednesday, July 22, 2009 6:40 AM
-
| | RobinDotNet Tuesday, July 21, 2009 5:57 AM |
|