Solved

VSI installation folder location

Posted on 2003-12-09
4
196 Views
Last Modified: 2013-12-25
I have a project I created in Visual Basic 6.0. I would like to deploy this project using the Visual Studio Installer 1.1. The vb project must be installed into a directory (i.e. C:\TestDir) in order for the application to work. In the P&D wizard it was easy enough to set the DefaultDir property in the setup.lst file to accomplish this but I cannot find an equivalant in VSI. So what I would like to do is create a installation package that skips the select installation folder dialog screen and simply forces the installation into a custom directory that I define. If anyone could help with this I eager to learn how its done.
Thanks,
Todd
0
Comment
Question by:tfake75
4 Comments
 

Expert Comment

by:scorpio05678
ID: 9985980
i think you cann't change the installation directory in VSI  but if you have done it please post it here for other. if possible.

cheers
SC
0
 

Author Comment

by:tfake75
ID: 10540616
I have found a solution. Using Orca to edit the generated msi file from vsi you can edit the custom action table and change the line starting with DIR_CA_TARGETDIR so the target field is the directory of your applications final destination.
0
 

Accepted Solution

by:
amp072397 earned 0 total points
ID: 10577686
PAQed, with points refunded (250)

Thanks very much!
amp
CS Admin
amp*at*experts-exchange.com
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question