Topic: Need help with adding shortcut  (Read 1122 times)

Need help with adding shortcut
« on: November 18, 2012, 09:40:27 PM »

carfan

  • Jr. Chef
  • **
  • Date Registered: Oct 2012
  • Posts: 21
I need help adding a shortcut to the Start Menu. Below are the original entries

[Variables]
%ProgramFolder%=System Info
%ProgramEXE%=siw.exe
%ProgramTitle%=System Info

[Process]
Echo,Processing %ProgramTitle%...
RunFromRam,%pCheckBox1%
Unpack,Folder,siw.7z,True
Add_Shortcut,StartMenu,System Information

Runscanner is in X:\Windows\System32\RunScanner.exe
I tried
Add_Shortcut,"StartMenu","System Information","X:\Windows\System32\RunScanner.exe /t 0 "y:\Program Files\System Info\siw.exe"

but the entry doesn't show up in Start Menu, System Information. Only the original shortcut shows up. Please help.

Thanks
Carfan

Re: Need help with adding shortcut
« Reply #1 on: November 19, 2012, 06:54:19 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi carfan,

try this one
Code: [Select]
Set,%rsexe%,#$pSystemRoot#$p\system32\Runscanner.exe
If,Not,%SourceArch%,Equal,x86,Set,%rsexe%,#$pSystemRoot#$p\SysWOW64\Runscanner.exe
//--
Add_Shortcut,StartMenu,"System Information",%rsexe%,%ProgramTitle%,%PE_Programs%\%ProgramFolder%,"/t 0 %ProgramEXE%",%PE_Programs%\%ProgramFolder%\%ProgramEXE%
not tested, but I hope it works or give a clue
 :thumbsup:

 

Powered by EzPortal