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
Solved

Start Menu Programm Groups

Posted on 2002-07-11
10
203 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vbModal 12 57
Installshield for Embarcadero EX 10.1 Berlin 4 60
Create Files based on Cell Values in a Range in Excel 12 43
Error installing ssms for sql server 2016 express 5 21
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

839 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