Recommended Posts

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:

@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.

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).

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'.

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:

@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!

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 by Massimiliano2

@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.

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 by Massimiliano2

@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...

  • 2 weeks later...

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:

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!

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:

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It's amazing that anyone still uses this bloated trash.
    • @Sayan...I have defended you at various points as I hope you know. This headline however is utter trash...shame on you sir!
    • An actual cosmic "Eye of Sauron" had been looking straight at us all along by Sayan Sen Image by Kovin P. Vasquez via Pexels | Not representative An international team of researchers has solved a long-standing mystery surrounding a distant blazar known as PKS 1424+240, helping explain why it produces some of the brightest high-energy gamma rays and cosmic neutrinos ever observed despite appearing to have a relatively slow-moving jet. The findings were published on June 6 in Astronomy & Astrophysics Letters. The study addresses a broader challenge in astrophysics: understanding how extreme cosmic objects accelerate particles to very high energies and produce very high-energy (VHE) photons and neutrinos. PKS 1424+240 is located billions of light-years from Earth. It has attracted attention for years because it is both a powerful source of VHE gamma rays and the brightest known neutrino-emitting blazar in the sky, according to observations by the IceCube Neutrino Observatory. It is also associated with one of the strongest peaks in IceCube's nine-year neutrino sky map A blazar is a type of active galactic nucleus powered by a supermassive black hole that pulls in surrounding matter and launches jets of plasma moving close to the speed of light. What makes blazars unique is their orientation. One of their jets points almost directly toward Earth, making them appear exceptionally bright across the electromagnetic spectrum and allowing scientists to study some of the most extreme physical processes in the Universe. The scientists exclaimed it's like the 'Eye of Sauron' in deep space. Usually, the brightest gamma-ray-emitting blazars are expected to have jets that appear to move very quickly. However, radio observations of PKS 1424+240 suggested that its jet was moving much more slowly, creating a contradiction that became part of a long-running problem known as the "Doppler factor crisis." To investigate, researchers analyzed 15 years of observations from the Very Long Baseline Array (VLBA), a network of 10 radio antennas spread across the continental United States, Hawaii and St. Croix. Using a technique called Very Long Baseline Interferometry (VLBI), astronomers combine signals from widely separated radio telescopes to create a virtual Earth-sized telescope capable of revealing extremely fine details. The team combined 42 polarization-sensitive radio images collected between 2009 and 2025, creating a much deeper and more detailed view of the jet than had previously been possible. The observations were carried out as part of MOJAVE (Monitoring Of Jets in Active galactic nuclei with VLBA Experiments), a long-running program that studies the brightness, polarization and magnetic field structures of jets produced by active galaxies. The project aims to better understand how activity near supermassive black holes is linked to high-energy radiation and neutrino emission. “When we reconstructed the image, it looked absolutely stunning,” said Yuri Kovalev, lead author of the study and Principal Investigator of the European Research Council-funded MuSES project at the Max Planck Institute for Radio Astronomy. “We have never seen anything quite like it — a near-perfect toroidal magnetic field with a jet, pointing straight at us.” The image revealed an unusual geometry. The researchers found that Earth lies almost directly in line with the jet, with a viewing angle of less than 0.6 degrees. In simple terms, astronomers are looking almost straight down the jet. This turned out to be the key to the mystery. Because the jet is aimed almost directly at Earth, a relativistic effect called Doppler boosting dramatically increases its apparent brightness. The study found that this effect boosts the emission by a factor of about 30 while also making the jet appear slower than it actually is. “This alignment causes a boost in brightness by a factor of 30 or more,” said Jack Livingston, a co-author at the Max Planck Institute for Radio Astronomy. “At the same time, the jet appears to move slowly due to projection effects — a classic optical illusion.” The nearly head-on view also gave scientists a rare look at the jet's magnetic field. Using polarized radio signals, they detected a clear toroidal, or doughnut-shaped, magnetic field component. The observations suggest the jet carries an electric current and that its magnetic field helps launch, shape and stabilize the flow of plasma. Researchers believe this magnetic structure may also play a key role in accelerating particles to energies high enough to produce both gamma rays and neutrinos. “Solving this puzzle confirms that active galactic nuclei with supermassive black holes are not only powerful accelerators of electrons, but also of protons — the origin of the observed high-energy neutrinos,” Kovalev said. The research was conducted under the MuSES (Multi-messenger Studies of Energetic Sources) project, which investigates how active galactic nuclei accelerate particles and generate different cosmic signals, including light and neutrinos. Scientists say understanding how protons are accelerated and linked to neutrino production remains one of the major unanswered questions in astrophysics. The findings help explain why some blazars can appear to have slow jets while still producing extremely bright high-energy emissions. More broadly, the study strengthens the link between relativistic jets, magnetic fields, gamma rays and high-energy neutrinos. Researchers say the results provide new clues about how some of the Universe's most powerful natural particle accelerators work and offer important insights for multimessenger astronomy, which combines different types of cosmic signals to study extreme events in space. Source: European Research Council, EDP Sciences This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing.
    • Gotenks98 is right... Outlook (new) is absolute trash. Doesn't Mozilla have an Enterprise Version of Firebird?
  • Recent Achievements

    • One Month Later
      lamborghiniv10 earned a badge
      One Month Later
    • Week One Done
      lamborghiniv10 earned a badge
      Week One Done
    • Reacting Well
      X-No-file earned a badge
      Reacting Well
    • One Month Later
      pestcontrol46 earned a badge
      One Month Later
    • Week One Done
      pestcontrol46 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      PsYcHoKiLLa
      273
    3. 3
      Skyfrog
      75
    4. 4
      +Edouard
      72
    5. 5
      FloatingFatMan
      68
  • Tell a friend

    Love Neowin? Tell a friend!