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
lwc
Posts: 297
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#286 Post by lwc »

Sure, done. I've called it services= and it can accept multiple services (as usual, use quotes for service names that have spaces).
Also followed a previous request and finally did the first migration - by renaming (automatically!) [CUSTOM CD MENU] to [CUSTOM MENU].

Can you check it in the latest beta?

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

Re: AutoRun LWMenu

#287 Post by -ElCoyot- »

lwc wrote: Sun Jun 23, 2024 12:39 pm I've called it services=
It's fantastic. It gets rid of services perfectly. Thank you.

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

Re: AutoRun LWMenu

#288 Post by lwc »

No problem, I've even found ways to do it without external commands and yet without relaunching the whole launcher as admin.

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

Re: AutoRun LWMenu

#289 Post by -ElCoyot- »

If we could also organize work with the drivers installed by some programs, it would be just wonderful.

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

Re: AutoRun LWMenu

#290 Post by lwc »

Sure. But since I don't know how to create a dummy driver, it means I can't test it on my own, and I don't like to release like that, so here are just temporary links for you to test:
  1. Regular version that uses admin access to remove the driver (temporary link expired)
  2. Special version that doesn't use admin access to remove the driver (temporary link expired)
The difference between them is that I don't know if admin is even needed to remove drivers (probably yes, but who knows) so I'm letting you test both options.
Does any of them work?
Last edited by lwc on Sun Jun 30, 2024 2:11 pm, edited 1 time in total.

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

Re: AutoRun LWMenu

#291 Post by -ElCoyot- »

I didn't understand anything. Add at least some instructions to the inf file.

User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: AutoRun LWMenu

#292 Post by Midas »

lwc wrote: Sure. But since I don't know how to create a dummy driver, it means I can't test it on my own...
:idea: From the top of my mind, you could look at utilities that require winpcap, a number of which have been posted here at TPFC...

E.g., see viewtopic.php?p=84241#p84241.

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

Re: AutoRun LWMenu

#293 Post by lwc »

-ElCoyot- wrote: Mon Jun 24, 2024 9:25 pm I didn't understand anything. Add at least some instructions to the inf file.
Sorry, I forgot to mention use drivers=... which can accept multiple driver names (as usual, use quotes if a driver name contains spaces).
The driver name should be as it appears in Device Manager.
Midas wrote: Tue Jun 25, 2024 3:22 am
lwc wrote: Sure. But since I don't know how to create a dummy driver, it means I can't test it on my own...
:idea: From the top of my mind, you could look at utilities that require winpcap, a number of which have been posted here at TPFC...

E.g., see viewtopic.php?p=84241#p84241.
Such utilities are for capturing network traffic. WinPcap driver itself is from 2013, it might affect my network and I rather not remove its driver externally without proper uninstallation (it's not portable). I've actually programmed my own dummy driver that does nothing (and thus presents no harm in removing it externally), but Windows refused to install it due to not having a digital signature. I guess gone are the days of at least asking "are you sure you like to install despite not having a digital signature?".

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

Re: AutoRun LWMenu

#294 Post by -ElCoyot- »

Try to make a portable version of https://github.com/sandboxie-plus/Sandboxie/releases (Classic). There is both the installation of the driver and the service. I can't do that.

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

Re: AutoRun LWMenu

#295 Post by lwc »

I assumed you asked to remove drivers because you have drivers you don't mind removing portably.
I suggest choose any driver you already have and don't mind to remove portably, use drivers= to remove it, and let us know the results (with both versions).
At worst, reinstall the program that added those drivers, then uninstall it to remove the drivers properly.

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

Re: AutoRun LWMenu

#296 Post by -ElCoyot- »

It was about importing and exporting drivers.

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

Re: AutoRun LWMenu

#297 Post by lwc »

If there's a driver you're willing to test removing, please do, just like Services. You can always re-add the driver later.
Importing/Exporting drivers seems far fetched.

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

Re: AutoRun LWMenu

#298 Post by -ElCoyot- »

Hi. Maybe I'm wrong with importing and exporting drivers. Nevertheless, I couldn't remove the drivers. I would like you to add the "installservice=" command if possible. I have built a program that has a service file in its folder. And in order for the program to work, you first have to run it through the bat file. Then the program itself is launched via "buttonafter=". I would like to make the service run by file name. There are no problems with deleting services.

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

Re: AutoRun LWMenu

#299 Post by lwc »

Did it pop an error when it tried to remove the driver (in both versions)?

As for services, I guess I will add a + like services="+cmd|cmd.exe" with | because it needs both a name and a command.

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

Re: AutoRun LWMenu

#300 Post by -ElCoyot- »

If I understood correctly and the name of the driver should be taken from here,
Screenshot_240628_065028.png
then nothing happens, there are no errors.

Post Reply