Solved

Start Menu Programm Groups

Posted on 2002-07-11
10
199 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

863 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

20 Experts available now in Live!

Get 1:1 Help Now