Solved

Installing software with batch file

Posted on 2016-08-01
3
48 Views
Last Modified: 2016-08-03
Hello

I have software that I want to distribute with a batch file. I saw that this software default installdir was in user profile -> appdata.
So I gave a parameter INSTALLDIR in batch file. Everything worked but then I saw in menu start a weird name folder with the application in this folder.
Can I change this folder name with my batch? I can not find any info about this.

Thanks!
0
Comment
Question by:Triforce2000
[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
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Kimputer earned 500 total points
ID: 41737239
In Win7: Start > All Programs is actually
C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Hence if you rename the folder there, it will reflect this change in the start menu as well.
0
 

Author Comment

by:Triforce2000
ID: 41737243
Nope, the folder is located @ C:\users\(user)\appdata\roaming\microsoft\windows\start menu\programs

So it is on user based and not computer based, just like the default installdir of this software.
But this can I change with my batch script, but can you also change menu start dir?
0
 
LVL 36

Expert Comment

by:Kimputer
ID: 41737315
It doesn't really matter where the folder is, you can just rename it.
While you said it's located where you found it, that's the personal Programs folder.
I pointed you to the more used, system wide Programs Folder.
But the procedure is still the same. Just rename it, and the changes will be directly reflected on the start menu.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

623 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