Here is something you guys might find useful, Its a must have if you are into driverpack making and it comes with InstallShield (used to extract drivers/files from installers with data1.cab/hdr packages created with InstallShield)
Here is my SendTo style installer, I extracted the files from InstallShield 2018 SP1 (may also require Visual C++ Runtimes)
Size: 18.2 MB
For unattended install
Passive:<installer>.exe /SILENTQuiet:<installer>.exe /VERYSILENTOther command-line options:/NOICONSInstructs Setup to initially check the Don't create a Start Menu folder check box on the Select Start Menu Folder wizard page./COMPONENTS="!help"Do NOT! install "Help files" components. (If a component name is prefixed with a "!" character, the component will be deselected.)/TASKS="sendtoicon,desktopicon,quicklaunchicon"Deselect all tasks, then select the "desktopicon", "sendtoicon" and "quicklaunchicon" (Vista & under) tasks. (Use the /MERGETASKS parameter instead if you want to keep the default set of tasks and only select/deselect some of them.)/MERGETASKS="desktopicon"Keep the default set of selected tasks, but additionally select the "desktopicon" tasks. (If a task name is prefixed with a "!" character, the task will be deselected.)
i posted a little batch code a while back on this thread. it was meant to step by step do as the tutorial instructed, nothing more. but as time went by and i created more and more installers i frequently found myself in need of a little extra in terms of options and possibilities. so i threw together a little more complicated batch code to take advantage of some free software to help with the job.
some of what it offers:
- installation or portable setup
- x64 & x86 builds
- manages it's own path in system PATH
- two convenient entires in the extended context menu
- default settings in ini file
- config.txt templates in sections of ini file
- predefined environment variables for config.txt templates
- customized sfx modules and possibility to add as many as you'd like
- upx compression of sfx modules before executable creation
- 3 ways of selecting a RunProgram / ExecuteFile / AutoInstall
> by passing it as a parameter to batch
> by using templates and calling them with switches
> by a switch that tells the batch to look for a config.txt in the target folder
- either way the text in query will always be auto encoded to utf-8
- can run verbose, or silent / hidden
- can create all exe binaries from all jobs to one selected folder
- can create a .md5 file along with the binary
- but most importantly, i.m.o; the !compile.cmd batch and configuring
it to hold all your other commands, 3d-party tools, compilers etc
to work in pre/post sequence of making the sfx binary. if you get used
to it compiling your software and creating a simple installer is done in a jiffy
suggestions, are most welcome! you can read the help file here
all files + my compressed project can be found here
After some time spent writing cab addon for larger number of files, i started to look for programs that automate most if not all tasks.
I found out there are :
Inf-Addon Maker - haven't found valid DL links (both here and at win-lite)
DX Universal UpdatePack/Addon Creator (filename DXUPAC.exe DXTool_x64_005FE78D48FC1B11F7068FBBE6FC368A.exe) - DL links present but no options found to select Windows 7. Also at start program requires exe of hotfix/update (which i assumed this program creates as CAB output at end, not requires as input at start)
Inf-Assistant - no valid DL links
Are there any usable Win7 INF addon cab makers then ?
EDIT: I downloaded DXUPAC.exe and it was staring in my face the whole time :doh: It is split into several "send to" targets so i did not it see as one single package to work with. Which reminds me : do these pieces of DXUPAC have source code somewhere ?
I kind of like using Notepad2 and manually assembling the INF files.
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.
I have uploaded the offline version of the repository by abbodi1406.
Downloaded with WHDownloader v0.0.1.9, identical pack from 30# July 2015.
They are prepared, means converted to .cab for faster integrate.
Microsoft Windows 8.1 x64
Microsoft Windows 8.1 x86