AutoRun LWMenu

If you are currently developing portable freeware or planning to do so, use this forum to discuss technical implementation, seek out like-minded developers for partnership, or solicit interested users for beta testing.
Message
Author
-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#151 Post by -ElCoyot- »

When assigning this launcher by default in system, an old problem appears.
2024-3-16 13-20-28.png
2024-3-16 13-20-28.png (4.17 KiB) Viewed 1242 times

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#152 Post by lwc »

Is CentBrowser the launcher? If so, which file extension do you try to run on it?

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#153 Post by -ElCoyot- »

For example, help from any program, the home page.

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#154 Post by lwc »

Please try to rephrase as I'm not sure what do you mean.
Did you rename the launcher to CentBrowser?

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#155 Post by -ElCoyot- »

Yes.
Video https://www.upload.ee/files/16397695/Rec_0001.mp4.html
In this case, the Autorun.inf file is created in the Notepad++ folder.

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#156 Post by lwc »

What did you associate the launcher with? Or did you just make it your default browser?
What's you Autorun.inf file? Please paste it in text.

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#157 Post by -ElCoyot- »

I did it with this program https://github.com/SiL3NC3/PortableRegi ... es/tag/1.5. Autorun.inf is
2024-3-17 8-36-18.png
2024-3-17 8-36-18.png (6.36 KiB) Viewed 1101 times

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#158 Post by lwc »

lwc wrote: Sat Mar 16, 2024 11:08 am What's you Autorun.inf file? Please paste it in text.
I mean please paste here the contents of this file, what's inside it.

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#159 Post by -ElCoyot- »

2024-3-18 7-19-0.png

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#160 Post by lwc »

That's what I needed, thanks (although why not in text?). So it was always like this due to:
lwc wrote: Tue Feb 13, 2024 2:42 pm So I've added a fallback in those cases to use the launcher's own folder plus passed what you clicked on in your browser as the command line for the launched program, in case you didn't manually define one.
But in this case you did define one. Plus last time you asked me to support filenames as parameters, not just any sort of parameters like links.
So I've changed the logic to support any sort of parameters plus add to the end existing optionalcommandlineparams if you already defined such.
Can you try it in the latest beta?

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#161 Post by -ElCoyot- »

Now the cmd window just opens
Video https://www.upload.ee/files/16405087/Rec_0001.mp4.html

And also, why when you run the file AutoRun.exe is the AutoRun.inf file with such contents being extracted?
2024-3-18 12-59-17.png
2024-3-18 12-59-17.png (10.51 KiB) Viewed 935 times

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#162 Post by lwc »

Oops, I was doing tests on that settings file while compiling the beta version and it was thus automatically embedded (per the new embedding feature). I've fixed it now if you re-download the same beta version.

But the real issue is why does it insist in your case not to use the settings file in the launcher's own folder.
Can you paste the following in text instead of a screenshot?
-ElCoyot- wrote: Sun Mar 17, 2024 8:20 pm
2024-3-18 7-19-0.png

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#163 Post by -ElCoyot- »

[CUSTOM CD MENU]
hidetrayicon=1
skiptobutton=3
blinktaskbarwhendone=1

[BUTTON3]
buttontext=CentBrowser
relativepathandfilename=App\chrome.exe
optionalcommandlineparams=--user-data-dir="Profiles" --no-default-browser-check --disable-updater --disable-background-networking --disable-component-update --extension-content-verification@1 --allow-outdated-plugins --force-device-scale-factor=1 --enable-dom-distiller --cb-disable-centbrowserupdater --cb-disable-auto-detect-search-provider --cb-disable-extensions-auto-update --cb-compact-ui --cb-disable-user-statistics --disable-features=GlobalMediaControls --disable-gpu-program-cache --disable-gpu-shader-disk-cache --disk-cache-dir=nul --disk-cache-size=1 --media-cache-size=1
registry=HKEY_CURRENT_USER\SOFTWARE\CentBrowser HKEY_CURRENT_USER\SOFTWARE\Google HKEY_CURRENT_USER\SOFTWARE\ScreenshotX2Y7Z8 HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Google
deletefolders=%TEMP%\Default
backuppath=App
singlerun=1

I've fixed it now if you re-download the same beta version.
Nothing has changed.

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#164 Post by lwc »

-ElCoyot- wrote: Mon Mar 18, 2024 11:52 am
I've fixed it now if you re-download the same beta version.
Nothing has changed.
Please try again now. But of course I still need to discover why it opens the default for you.

lwc
Posts: 206
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#165 Post by lwc »

Meanwhile, I've added some simulation prompts that might assist figuring it out.
Can you try in the latest beta to add simulate=1 to [CUSTOM CD MENU] and make a video of all the popups?

Please move from the current place you upload videos too, which not only downloads instead of just showing them but sometimes replaces them with malware (someone else already reported it in the past) with something like https://streamable.com (which free package automatically deletes the videos after a while)?

Post Reply