Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with MS Visual Studio Installer 1

Status
Not open for further replies.

Micash

Programmer
Dec 11, 2000
54
I need some help with the above. I have already deployed an application using the VB Packaging and Deployment Wizard. I recently acquired the latest version of MS Visual Studio Installer. I'm getting around slowly but surely, but need some help on the following:
I want to included an aspect where the installer will take a folder on the App.CD and install it on the target machine's C-Drive. Thus far I have had no success because all I can find is how to install this to the Application Folder in Program Files. Any help will be greatly appreciated.
Regards - Micash
 
Hi Micash,

I have come across this problem as well.

If you right click in the 'File System on Target Machine' pane and select 'Add Special Folder' the select 'Custom' you get a NEWFOLDER added. Change the DefaultValue property to be the folder you want to create (e.g. C:\Madlarry) then create a file (e.g. temp.txt) with nothing in it and add that into the Files. Add this file into the NEWFOLDER you have created.

For some reason the folder won't be created unless there is a file in it (no idea why). Also bear in mind that if you want to create a folder tree (e.g. C:\Madlarry\Subfolder) you have to create each level separately. I also believe there is a way to use the system environment variables as well, but I haven't needed to yet (let me know if you do).

Cheers,

Madlarry
 
Madlarry - thank you very much!
I have another problem maybe you can help me with. I am a novice as far as Visual Studio Installer is concerned. The msi file works excellently on my machine and another one hooked up to it. However, I wrote the file to a CD and tried install the application on a laptop and a an error occurred - a message popped up saying that this file may not be a true Windows Installer File (my words). What could be the problem?
Regards - Micash
 
Hi Micash,

Sorry for not replying sooner to this post.

If you still have this problem: In the Project Properties of your installation, change the Build Type value to 'Installer with Windows Installer Loader'. When you build your installation, you will see more files in the Output folder. Get the user to run the Setup.exe instead of the .msi file.

Madlarry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top