perspectivism Posted February 23, 2006 Share Posted February 23, 2006 Another question. I'm creating standalone module for poweroff, all ok, but for detection? These are the lines of poweroff.amc: [AutoPatcher 5.0 Module] [Configuration] Name=Poweroff 3.0.1.3 Author=Jorgen Bosman Description=Poweroff ? uno strumento che consente di spegnere o riavviare automaticamente il pc. ParentID=STAND_ALONE_ENU UniqueID=Stand_alone URL= Default=False Expand=False PicturePath= ETA=5 NeedsRestart=False Language=1040 TargetOS=ANY_2K_VERSION,ANY_XP_VERSION TargetIE=ANY_IE Priority=20051110 [Detection] RegistryKey= RegistryData= RegistryValue= [install With Backups] md "%programfiles%\PowerOff" copy "Module:\poweroff.exe" "%PROGRAMFILES%\PowerOff\poweroff.exe" [install Without Backups] same: Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587234608 Share on other sites More sharing options...
+theblazingangel MVC Posted February 23, 2006 MVC Share Posted February 23, 2006 @Massimiliano2 you need to delve into your registry and find something that can identify the version of the software. - right click the registry key path (think of it as a folder) and select 'copy key name'. paste it after 'registrykey='. Note use shorthand for the hives (e.g. 'HKEY_CURRENT_USER' should be 'HKCU') - copy the value (think of this as a file) name and paste after 'registrydata=' - copy the data in the value, and paste after 'registryvalue=' note, either me or raptor have got the terms 'data' and 'value' mixed up, but what i mean by 'value' is like a file, and 'data' the data in the file (value). also, i note this module is for LCID 1040. if the same setup file can be used for english windows, you need to follow AIO rules (see translation documentation). the .amc file should be named like 'poweroff_ita.amc', the folder 'poweroff', and the setup instructions should use 'autopatcher:\modules\stand_alone_mods\poweroff\poweroff.exe'. this means there isnt two copies of the setup/program file in two seperate folders, and the one folder is shared with one or more .amc files of different languages. Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587234856 Share on other sites More sharing options...
perspectivism Posted February 24, 2006 Share Posted February 24, 2006 The problem is that poweroff is an utility standalone... there is a file poweroff.exe. :unsure: Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587237756 Share on other sites More sharing options...
+theblazingangel MVC Posted February 24, 2006 MVC Share Posted February 24, 2006 The problem is that poweroff is an utility standalone... there is a file poweroff.exe. :unsure: can poweroff.exe be use on english windows and not just italian (1040) ? if its just specifically for itallian windows then have: poweroff_ita.amc poweroff_ita.amc_files / poweroff.exe if it can be used on multiple language versions of windows, have: poweroff_ita.amc (containg the ita translation) poweroff / poweroff.exe (containing the shared file) in the first instance, because the folder name is the same as the .amc (ignore the '_files' bit), you would use 'module:\poweroff.exe' in the setup instructions. in the second instance, the folder name is not the same, so you would have to use 'autopatcher:\modules\stand_alone_mods\poweroff\poweroff.exe' to access it (note 'autopatcher:\' refers to autopatcher.exe's location). Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587238044 Share on other sites More sharing options...
perspectivism Posted February 24, 2006 Share Posted February 24, 2006 It's the second istance, done! But the real problem is detection. Autopatcher can detect the folder of installation specified (example, c:\program files\poweroff\poweroff.exe)?? What's the command line or condition? Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587238336 Share on other sites More sharing options...
+theblazingangel MVC Posted February 24, 2006 MVC Share Posted February 24, 2006 It's the second istance, done! But the real problem is detection. Autopatcher can detect the folder of installation specified (example, c:\program files\poweroff\poweroff.exe)?? What's the command line or condition? AP 5.1 doesnt have file detection, just registry detection. file detection will come in AP 6.x if theres nothing in the registry to use, do this: 1) create a setup file called 'inst.apf' and include it alongside poweroff.exe 2) in inst.apf past the following code Windows Registry Editor Version 5.00 ;AutoPatcher Detection [HKEY_LOCAL_MACHINE\SOFTWARE\AutoPatcher] "PowerOff"="3.0.1.3" 3) use the following detection RegistryKey=HKLM\SOFTWARE\AutoPatcher RegistryData=PowerOff RegistryValue=3.0.1.3 note, if it only applies to the current user, replace 'HKLM' with 'HKCU' and 'HKEY_LOCAL_MACHINE' with 'HKEY_CURRENT_USER'. Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587238778 Share on other sites More sharing options...
perspectivism Posted February 24, 2006 Share Posted February 24, 2006 Works! Final lines of poweroff_ita.amc: [AutoPatcher 5.0 Module] [Configuration] Name=Poweroff 3.0.1.3 Author=Jorgen Bosman Description=Poweroff ? uno strumento che consente di spegnere o riavviare automaticamente il pc. Guida: http://www.megalab.it/articoli.php?id=295 ParentID=STAND_ALONE_ENU UniqueID=Stand_alone URL= Default=False Expand=False PicturePath= ETA=5 NeedsRestart=False Language=1040 TargetOS=ANY_2K_VERSION,ANY_XP_VERSION TargetIE=ANY_IE Priority=20051110 [Detection] RegistryKey=HKLM\SOFTWARE\AutoPatcher RegistryData=PowerOff RegistryValue=3.0.1.3 [install With Backups] md "%programfiles%\PowerOff" copy "autopatcher:\modules\stand_alone_mods\poweroff\poweroff.exe" "%PROGRAMFILES%\PowerOff\poweroff.exe" regedit /s "autopatcher:\modules\stand_alone_mods\poweroff\inst.apf" [install Without Backups] same: Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587239201 Share on other sites More sharing options...
+theblazingangel MVC Posted February 24, 2006 MVC Share Posted February 24, 2006 Works! Final lines of poweroff_ita.amc: (Y) Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587239505 Share on other sites More sharing options...
perspectivism Posted February 25, 2006 Share Posted February 25, 2006 Now, exists a command to copy folder? Example, instead of this line: copy "autopatcher:\modules\stand_alone_mods\poweroff\poweroff.exe" "%PROGRAMFILES%\PowerOff\poweroff.exe" I want a line to copy directly a folder and eventual subfolders. Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587241160 Share on other sites More sharing options...
+theblazingangel MVC Posted February 25, 2006 MVC Share Posted February 25, 2006 @Massimiliano2, well all your really doing is writing a batch file (.bat or .cmd). autopatcher copies the install instructions to a .bat or .cmd file in your temp directory, replaces the relative paths using 'module:\' and 'autopatcher:\' with the full direct paths paths, runs the batch file, and deletes it again. you could use: copy "autopatcher:\modules\stand_alone_mods\poweroff\subfolder\*.*" "%PRORAMFILES%\poweroff\subfolder\*.*" to copy everything in a subfolder of the power off folder across. im not 100% sure if it'll also copy subfolders of the subfolder. you should still use the other command to specifically copy poweroff.exe, else using *.* in that folder will also copy inst.apf which you dont want! Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587242004 Share on other sites More sharing options...
perspectivism Posted February 25, 2006 Share Posted February 25, 2006 (edited) Please can you verify if these standalone modules are ok for an official release? I'm with dkdk_it for pubblication of italian release. These are few megabytes: http://rapidshare.de/files/14133733/modules.rar.html Edited February 25, 2006 by Massimiliano2 Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587242727 Share on other sites More sharing options...
+theblazingangel MVC Posted February 25, 2006 MVC Share Posted February 25, 2006 @Massimiliano2, there were a few problems, but ive fixed them and encrypted your mods. problems: 1) not all .amc files had '_ita' in the name, meaning if and when combined with english copies, the'd over write them instead of existing side by side. ive renamed them and altered the install paths. 2) optimised regseekers install instructions, swapping out about 11 lines with a single one! (using *.* to copy all files in the subfolder!). 3) replaced tweaks_ita.amc with the official one from the upcomming italian release. delete your copies before extracting mine so you get rid of the stuff i renamed! http://rapidshare.de/files/14140814/modules_enc.rar.html ive spotted a few slight AIO mistakes in the few mods i downloaded to look at. i think i'll soon go through all the ones on the front page and correct any mistakes. Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587243137 Share on other sites More sharing options...
perspectivism Posted February 27, 2006 Share Posted February 27, 2006 (edited) Please read my message about update release, thanks: https://www.neowin.net/forum/index.php?show...iew=getlastpost Edited February 27, 2006 by Massimiliano2 Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587249432 Share on other sites More sharing options...
perspectivism Posted February 27, 2006 Share Posted February 27, 2006 Standalone modules are ok, but why appears "non ufficiale" (in english not official), where there is the first group? See attachment: Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587250667 Share on other sites More sharing options...
perspectivism Posted February 27, 2006 Share Posted February 27, 2006 (edited) In the meantime, I've done other corrections, encryption required: http://rapidshare.de/files/14302722/modules.rar.html Please see also the problem above this post. (the color is black, therefore the module is encrypted, but still appears not official). Edited February 27, 2006 by Massimiliano2 Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587251188 Share on other sites More sharing options...
+theblazingangel MVC Posted March 3, 2006 MVC Share Posted March 3, 2006 @Massimiliano2 sorry, it took so long for me to get round to. here are your new modules. extract to autopatcher/modules/ http://rapidshare.de/files/14597810/modules2_enc.rar.html i havent got a clue why thats happening in the above image... Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587266691 Share on other sites More sharing options...
gandolas Posted March 6, 2006 Share Posted March 6, 2006 (edited) Added new updated modules: - 7zip PTG - Paint.NET 2.6 ENU - Paint.NET 2.6 PTG - Unlocker 1.8.1 ENU - Unlocker 1.8.1 PTG - Mozilla Firefox 1.5 pt-BR Edited March 6, 2006 by gandolas Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587277162 Share on other sites More sharing options...
ChrisbyBoy Posted March 9, 2006 Share Posted March 9, 2006 Can you add in for next month IE7 Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587288743 Share on other sites More sharing options...
dkdk_it Posted March 9, 2006 Share Posted March 9, 2006 Can you add in for next month IE7 NO... becouse it's still a BETA version... Is it right, gandolas?!? Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587289053 Share on other sites More sharing options...
+theblazingangel MVC Posted March 9, 2006 MVC Share Posted March 9, 2006 IE7 will not be included unitl it goes final, and it wont appear here but in the main xp release. Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587289211 Share on other sites More sharing options...
gandolas Posted March 9, 2006 Share Posted March 9, 2006 As dkdk_it and TheBlazingAngel said, it won't be included until it's labled as final (and stable). Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587289531 Share on other sites More sharing options...
ShadowSystems Posted March 21, 2006 Share Posted March 21, 2006 Hello. First off, I'd just like to thank you *whole-heartedly* for all the effort you & the dev team / contributors have put into making this an *awesome* way for us to keep new systems in tip-top-shape without having to muck about grabbing everything from MS the slow way... ::D: Second, a note about the "MegaUpload" site you've got your stuff hosted by - they're pushing porn pop-up's. :blink: :blush: :no: :angry: I clicked the little red X to close the floating flash ad (grrr), waited the five seconds for it to show the "download here" link, and noticed a new window come up. Thinking it might be a system notice (like "It'll be a few minutes for us to serve you this file - there are only 32,987,556 people ahead of you in line." or some such) only to stare at a "Click here to see live cam ######!" ad! Complete with NSFW / NSF-Minors images of graphicly-depicted actions that are DEFINITELY not legal in the United States... Any chance you can point me to a repository that *doesn't* serve up porn ads? Heck, send the latest stand-alone to me via email (it's Google, they don't care - use .RAR max compression if you like) and I'll grep a copy that way... But having to dive for [CONTROL]+[W] (hot key to close the open tab) so my boss doesn't think I'm trying to get my butt fired... Nearly gave me a heart attack! :woot: :rofl: :devil: Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587331649 Share on other sites More sharing options...
+theblazingangel MVC Posted March 21, 2006 MVC Share Posted March 21, 2006 ^ moved to rapidshare ;) Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587331957 Share on other sites More sharing options...
Angelico_Payne Posted March 24, 2006 Share Posted March 24, 2006 But having to dive for [CONTROL]+[W] (hot key to close the open tab) so my boss doesn't think I'm trying to get my butt fired... Nearly gave me a heart attack! :woot: :rofl: :devil: Nah, quit naggin, you download this great product for free + you get some free action :devil: . And if your boss catches you up, excuse yourself by saying this download is essential for profit :), and that guys that make it are dirty old geezers :laugh: Cheers and enjoy! Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587344163 Share on other sites More sharing options...
kickarse Posted March 30, 2006 Share Posted March 30, 2006 Nah, quit naggin, you download this great product for free + you get some free action :devil: . And if your boss catches you up, excuse yourself by saying this download is essential for profit :), and that guys that make it are dirty old geezers :laugh: Cheers and enjoy! ^^ Your a retard... Besides most people who use this are in a business/corporate environment and aren't using WSUS currently or can't get out of the firewall for WUS. You my friend fail to see that most employers are quick to take action against anything that is deemed derrogatory and crude. Especially something of the nature of half naked woman. They most likely don't work at a auto shop where this is something that could be put up without a flinching of the upper management. I myself work at a hospital with mostly woman. They would have my head and kill my firstborn if I were to put up a picture of a half clad woman. Probably because they could only dream of being that hot. :shifty: Don't get me wrong though the female body is a site to behold and can be the most beautiful thing to lay eyes and *cough* hands on. :woot: Unless your just being sarcastic and in the case :blink: :p :D Yes I am a troll with only 1 post... so?!?!? heh... Great program and I've used it since it came out. :whistle: Link to comment https://www.neowin.net/forum/topic/262902-stand-alone-modules-for-autopatcher/page/8/#findComment-587366282 Share on other sites More sharing options...
Recommended Posts