gora, вы мне как то помогли написать такого плана код для ярлыков:
Код:

;!@Install@!UTF-8!
SetEnvironment="PathInst0=%programfiles%\\ESET\\"
SetEnvironment="PathInst1=%programfiles%\\ESET\\ESET Smart Security\\"
RunProgram="hidcon:cmd /c If Exist \"%PathInst0%\\nod32kui.exe\" \"%%S\\%%M\" -ai0"
RunProgram="hidcon:cmd /c If Exist \"%PathInst1%\\egui.exe\" \"%%S\\%%M\" -ai1"
AutoInstall0="hidcon:cmd /c Echo"
AutoInstall1="hidcon:cmd /c Echo"
Shortcut0="D,{%PathInst0%\\nod32kui.exe},{},{},{Антивирус и фаервол сетевой активности},{ESET NOD32 2.7},{%PathInst0%},{%PathInst0%\\nod32kui.exe},{0}"
Shortcut1="D,{%PathInst1%\\egui.exe},{},{},{Антивирус и фаервол сетевой активности},{ESET Smart Security BE 4.2},{%PathInst1%},{%PathInst1%\\egui.exe},{0}"
GUIMode="2"
; This SFX archive was created using "Button for creation and work with 7z SFX archives in Total Commander v.2.0.5" 10.02.2011 17-32. The last version of "Button" you can find on http://buttontc.7zsfx.info
;!@InstallEnd@!
можно ли его как то более правильно записать, чтобы учитывались пути в 64 битной винде без увеличения количества строк?