I would suggest putting the Start Menu shortcut under "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Teamcenter 10\Environment Manager.lnk". Try that and see if it works without issue.
The software deployment process runs as the "System account" rather then that of the "Current user" so the %USERNAME% would not work.
Perhaps you could place the file under "%ProgramData%\Microsoft\Windows\Start Menu\Programs" ?
Otherwise you can set the deployment to run as the current user, but this is not recommended as you cannot be sure of the system state at the time of deployment.
Thanks for your response.
I am calling third party software through batch file, and that software trying to create this shortcut. So I don't have control of this command.
Our users don't have admin rights on system , so cant run as logged in user.
It's difficult to make a recommendation without knowing a little more about the Teamcenter 10 and your deployment process.
Is their a away to distribute the software without creating a shortcut? Perhaps such an option exist under the "Create Custom Distribution" or are you deploying using the provided "tem.bat"?
Does the installation media come in MSI format? If so you could create a Transform file which would allow you to put the shortcut where you need it to go.
Try to google 'Teamcenter 10 silent installation'... It will show you some pages that will give you tips on how to setup a silent installation specifically for deployment through management systems like LANDESK.
If using a batch file, you can just copy the link of an already installed computer. Using TechNet copy command, you copy the link after the installation to the "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Teamcenter 10 (all user start menu)
Many thanks all for your suggestions.
I found the issue and corrected in batch script.
Our installer is looking for below 2 folders, which was not available on our Windows 7. After creating them , issue get resolved.
Ok but that is the local system profile location bit strange that not being available.
Agree with you, this will not available for to see other users.
Workaround will be copy link for other user profiles through batch.
Do you have any better solution for this ?
Without going to the installation support of the software provider.
You can built an .msi from the installation and set the start menu item.
If you already distributing the install via batch the easiest is just add an extra line. Just add the link of a working computer to the additional files of the package
md "\ProgramData\Microsoft\Windows\Start Menu\Programs\(program name)"
copy /Y "%~dp0(file.lnk)" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\(program name)\"