Solved

Start Menu Programm Groups

Posted on 2002-07-11
10
201 Views
Last Modified: 2013-11-14
I have an app,wich I am installing over another application.

When I come to the section where i need to select which program group i want to insatll to.

I get the following error

run time error 58
file already exists
the old pragramm folder points to the wrong exe I want to make it point to the new one
0
Comment
Question by:Vignette
10 Comments
 

Author Comment

by:Vignette
ID: 7145643
I want to install the new program without unistalling the old one
0
 
LVL 4

Expert Comment

by:gencross
ID: 7145841
What OS are you using?
0
 

Author Comment

by:Vignette
ID: 7145844
I have to make two instalattion disks

one for windows 2000
one for windows 98
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 4

Expert Comment

by:gencross
ID: 7145862
Are you using the package and deployment tool or are you using another installation software (Installshield, Wise)?

Are you saying the folder is wrong or the shortcut inside the folder points to the wrong EXE?
0
 

Author Comment

by:Vignette
ID: 7145872
I am using the pd tool.

I have just solved this problem.

Could you help me with another problem.

I need to create shortcuts on the desktop,but the old app installs the old shortcuts to the desktop.

I need to know how can i delete the old desktop shortcuts.

for 98 and 2000 machines
0
 

Author Comment

by:Vignette
ID: 7145875
this is my code to add new desktop items

strLinkName = "Shortcut to WordGenerator"
 strLinkPath = "c:\Program Files\PWM AP Document Generator\WordGenerator.exe"
 strLinkArguments = ""
 fPrivate = True                              ' Add shortcut to desktop.
strGroupName = "..\..\Desktop"
sParent = "$(Programs)"
fSuccess = fCreateShellLink(strGroupName & vbNullChar, strLinkName, strLinkPath, strLinkArguments & vbNullChar, fPrivate, sParent)

how do i delete the old ones
0
 
LVL 4

Expert Comment

by:gencross
ID: 7145909
I don't think you are going to be able to delete them because the names of the shortcut could have changed and you cannot identify which files are the shortcuts.  You may want to just display a message to the user of something to that effect.
0
 

Author Comment

by:Vignette
ID: 7145921
I am going to just tell the users to delete the old files themselves

thanks for the help
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8002325
Vignette, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Refund points and save as a 0-pt PAQ.

DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8095330
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now