Solved

Start Menu Programm Groups

Posted on 2002-07-11
10
198 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

746 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