Hi,
TXTAddLine,"%TargetDir%\i386\system32\shortcut.inf","1,!PE\Programs\Debug\Depends\depends.exe,!SM\Programs\Debug\Dependency Walker 2.1","Append"
This line is successfilly added to shortcut.inf. B:\ProfilesDir and all subdirs exist. However, shc.au3 does not generate the shortcut.
Any help appreciated.
niche99
Shortcut.inf
Started by
niche99
, Sep 09 2006 01:40 PM
4 replies to this topic
#1
Posted 09 September 2006 - 01:40 PM
#2
Posted 09 September 2006 - 02:07 PM
Do you use the new shortcuts script? THe old versions doesn't support spaces .
#3
Posted 09 September 2006 - 02:11 PM
Do you use the new shortcuts script? THe old versions doesn't support spaces .
I did an update, server says [4] computer says "No" , I mean Winbuilder says [4]. I assume I have the latest version.
Is shortcut generation dependant on an explorer shell running?
niche99
#4
Posted 09 September 2006 - 05:04 PM
Hi,
I did a bit more testing.
works fine.
is not generated.
This would seem to indicate that subdirs of Start Menu\Programs are not being created or are not parsed correctly by the script.
niche99
I did a bit more testing.
TXTAddLine,"%TargetDir%\i386\system32\shortcut.inf","1,!WD\system32\depends.exe,!SM\Dependency Walker","Append"
works fine.
TXTAddLine,"%TargetDir%\i386\system32\shortcut.inf","1,!WD\system32\depends.exe,!SM\Debug\Dependency Walker","Append" - does not work
is not generated.
This would seem to indicate that subdirs of Start Menu\Programs are not being created or are not parsed correctly by the script.
niche99
#5
Posted 09 September 2006 - 07:20 PM
IIRC, you need to create folders first.
should work. the '2' at the start of the line says 'create a dir, not a shortcut'
//martin
TXTAddLine,"%TargetDir%\i386\system32\shortcut.inf","2,!SM\Debug" TXTAddLine,"%TargetDir%\i386\system32\shortcut.inf","1,!WD\system32\depends.exe,!SM\Debug\Dependency Walker","Append"
should work. the '2' at the start of the line says 'create a dir, not a shortcut'
//martin
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users