Suggested directory for setup

bwk5502
09-07-2000, 11:20 PM
When I run the setup created by the VB install package, the setup program always suggest creating a file directory name that I no longer use. I tried and tried to get rid of the old project name.

I used edit to search the project >>>>> it ain't there.

I searched ALL files on my computer for files & folders with the old project name >>>>> nothing.

Then I searched ALL files on my computer for text with the old project name >>>>> YES >>>>> it's in my current project, somewhere.

I'll be ****ed if I can find it. Probably in plain sight, but I just can't find it. Has anyone else had a similar problem?

Bewildered

Grimfort
09-08-2000, 10:29 AM
I think I know what you want.

You are running a Setup.exe and every time you get to the install path it gives you a path you dont want.

If this is the case then edit the setup.lst file (same directory as setup.exe) and look for the entry
'[Setup]' then find 'DefaultDir'. Change the value of this to wherever you want to install the program to.
E.g 'DefaultDir=$(ProgramFiles)MyProgram'

Grimfort

Grimfort
09-08-2000, 10:29 AM
I think I know what you want.

You are running a Setup.exe and every time you get to the install path it gives you a path you dont want.

If this is the case then edit the setup.lst file (same directory as setup.exe) and look for the entry
'[Setup]' then find 'DefaultDir'. Change the value of this to wherever you want to install the program to.
E.g 'DefaultDir=$(ProgramFiles)MyProgram'

If this in not what you want can you rephrase the question.

Grimfort

bwk5502
09-08-2000, 11:57 AM
This is good information and you do understand my problem area. However, the VB install package tool (not setup.exe) asks me the directory name I want to use for the setup.exe. I give it my current project name (it actually suggests the correct name). But later, when the setup.exe is run, it suggests (to the user) the old project name for the directory name. I don't want that. Yes, I know I can change it by modifying setup.lst, but I should not have to do that. Something is wrong in river city.

NoahBody
09-08-2000, 02:47 PM
I think I have it...

I believe what's happening is that you are using the old packaging script.

When package wizard runs, it builds a script that helps it the next time you need to make the installation.

This is where the default directory for installation comes from. If you can't be bothered to fix the Setup.lst file try running the wizard again only in the "Scripts" window choose "Standard Setup Package 1" and it will allow you to build the script from ground zero. When you go to save the script, you can write over the original.

Hope This Helps,
->Noah

bwk5502
09-08-2000, 04:22 PM
Okay Noah. I'll try that this evening. However, I think the Standard Setup Package 1 was a default. I used the defaults throughout. By-the-way, I completely uninstalled all VB stuff (except for my project files which I saved separately), and then re-installed all of VB. Still didn't work. ??? Keep in mind that the current .vbp file is the only file in all of my computer that somewhere retains text of the old (unwanted and deleted) project name. Also, this morning I used "save as" with the current project name thinking that would maybe clear out the old project name. That didn't work either. Another thing, I forgot to mention that I re-installed VB to get rid of the unwanted project name(s) that were in the "recent" list.

Thanks

bwk5502
09-09-2000, 03:45 PM
Problem solved. I didn't notice the place for the Project name under project properties.

Thanks all.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum