8. now folder with programs not linked to "Y:", be careful and use API for shortcuts
my question is now:
how can i make a registry entry, that contains a path to an application on the boot media?
so what is the replacement for %LinkDir% in this code:
... ... [Variables] %ProgramTitle%=SumatraPDF %ProgramEXE%=SumatraPDF.exe %ProgramFolder%=SumatraPDF %LinkDir%=Y:\%ProgramFolder% [process] Echo,Processing %ProgramTitle%... Add_Shortcut,StartMenu,Office Unpack,Files,SumatraPDF.7z RegHiveLoad,Tmp_Software,%HIVE_HKU% RegWrite,"HKLM",0x1,"Tmp_Software\Classes\.pdf","","SumatraPDF" RegWrite,"HKLM",0x1,"Tmp_Software\Classes\.pdf","Content Type","application/pdf" RegWrite,"HKLM",0x2,"Tmp_Software\Classes\SumatraPDF\DefaultIcon","","%LinkDir%\SumatraPDF.exe,0" RegWrite,"HKLM",0x1,"Tmp_Software\Classes\SumatraPDF\shell","","open" RegWrite,"HKLM",0x1,"Tmp_Software\Classes\SumatraPDF\shell\open\command","","%LinkDir%\SumatraPDF.exe #$q%1#$q" RegHiveUnLoad,"Tmp_Software" ... ...any help would be appreciated
fuwi