Solved

Start Menu Programm Groups

Posted on 2002-07-11
10
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

717 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