Search the Community
Showing results for tags 'nircmd'.
Found 1 result
I would like to add nircmd via true addon CAB (a great little utility by Nir Sofer) to my Win7 x64 offline image (ie for making ISO out of it later). It has both x86 and x64 versions. SInce i intend to use it on x64 Windows, it means that calling application (usually cmd.exe) will call the corresponding version of nircmd (x86 cmd calls x86 nircmd and respectively x64 cmd.exe calls x64 version of nircmd). Now a problem : i can make a CAB file that holds both versions under different names in same folder inside CAB, but since in future i intend to add other dual-bitness applications, this will be a problem for me. I have my CAB referenced in Entries.ini like so [txtsetup_files]AddUtils.cab = 1,,,,,,_x,,3,3Note that i have left out other relevant information to make this post short and to the point. I would like to package both versions of nircmd in CAB file under different subdirectories, like so : MYCABFILE.CAB < CAB file itself\X86VER\nircmd.exe < first version in subdirectory\X64VER\nircmd.exe < second version in other subdirectoryI was reading INF reference documentation on MS site and it mentions multiple directories, but it is unclear to me if the above is possible. There are two descriptions that don't explain this well enough : [SourceDisksNames]diskid = disk-description[,[tag-or-cab-file],[unused],[path],[flags][,tag-file]]I don't know if "path" part refers to my above case of subdirectories in CAB file or some other location. Second one is [SourceDisksFiles]filename=diskid[,[ subdir][,size]]Also, i'm not sure to what "subdir" points to. I was trying to find other true addons as examples (so far, they have been useful), and closest one is for Notepad2, similar to what i need, but it either copies x86 or x64 version (as defined in section names), and i need BOTH versions of nircmd.exe to be copied in their respective directories (%SystemRoot%\System32 and %SystemRoot%\SysWOW64). I hope i haven't overcomplicated my post, i just wanted to be as specific as possible.