Hello, Is it possible to create a shortcut to a file that would be previously installed on the target computer if I don't know where the file is installed at?
I searched and found this which is sorta what I want to do, but that is to a different indigo program.
Best example I can give, is if I wanted to create a desktop shortcut to the program wow.exe from within my installer, where wow.exe is the game file for world of warcraft, but I dont know where the target installed the game, I believe I can check in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Blizzard Entertainment\World of Warcraft
where I know a string "InstallPath" is that has a value of (in my case) C:\Program Files\World of Warcraft\
My problem is Im not sure that is the correct key or if it will be the same on every computer. And once I have that information how do i create a shortcut to %InstallPath%/wow.exe
if it makes any difference I want the shortcut to run the file with admin privileges.
I searched and found this which is sorta what I want to do, but that is to a different indigo program.
Best example I can give, is if I wanted to create a desktop shortcut to the program wow.exe from within my installer, where wow.exe is the game file for world of warcraft, but I dont know where the target installed the game, I believe I can check in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Blizzard Entertainment\World of Warcraft
where I know a string "InstallPath" is that has a value of (in my case) C:\Program Files\World of Warcraft\
My problem is Im not sure that is the correct key or if it will be the same on every computer. And once I have that information how do i create a shortcut to %InstallPath%/wow.exe
if it makes any difference I want the shortcut to run the file with admin privileges.