![]() If you downloaded my modified sort2cabs.js above, then you'll need cabarc.exe in your system path, otherwise you'll get the Error: that NiGHTsC experienced. I'll be trying some more automation later this week (when the wife is asleep).ĮDIT: - Modified sort2cabs.js again so that it uses cabarc (better compression) as first choice if it exists in %windir%\System32, otherwise use makecab and settings.ddf like marek722's original sort2cabs.js Added Veger's fix for md5sum also, Thanks. This doesn't break the existing functionality if you don't have the AutoIt script.Īttached is a version with these modifications plus the mod from post #15. While (!) ((40)) // >1 for faster looping WScript.Echo("\nRunning " + arRun + " to update msi files") update MSI files manually, or use compiled AutoIt script if available ("\nNow update your MSI files with the new tables and press to continue. In the " // main" section I added a variable declaration:Īnd where he had the following two lines: Now we can call the "Update_msi_tables.exe" file from marek722's script sort2cabs.js with the following modification: With AutoIt installed, all you have to do is right click on the "Update_msi_3" file and choose "Compile script". ![]() (now I'm hooked on all this coding stuff but my wife's angry) Oh joy, I got the sort2cabs.js script to call the AutoIt script by copying some of marek722's existing code for oExec (don't understand it all, but) and adding an If statement. Note: The start_script.cmd file and AutoIt scripts go in the same "sort" directory as sort2cabs.js With benase's fix for Max compression, we don't need the settings.ddf file anymore. I also plan to use benase's fix for Max compression (Post #15) and tCP's batch to delete unwanted files (Post #20). Now I need help with the js code to call this AutoIt script from marek722's sort2cabs.js where it pauses with: update MSI files with the new tables and press to continue. ![]() Use the AutoIt script called Update_msi_3 (attached) to run Orca and import the new tables into the msi packages (that covers step 6). That covers steps 4 and 5 (don't need tabledirs.lst and xmlfiles.lst anymore because they're created automatically). \FILES\SETUP\ĮCHO and delete all files that were NOT originally on the office cd. \FILES\SETUP\ĮCHO Now restore the backed up ini files in. \FILES\SETUP\ĮCHO Creating xmlfiles.lst and tabledirs.lst filesĮCHO Copying the updated xml files to. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |