Jump to content
Sign in to follow this  
Grof

Request feature (Registry)

Recommended Posts

Hello,

 

I don'know if this is the correct section where place this message, so sorry for the error...

I would contact the programmer's team of AutoIt for request, in the next release, a better management of Registry, with similar commands as in NSIS.

I know, I'm a newbie in AutoIt, but if you need an help to develop this features, I can collaborate to test new release.

 

Thanks.

Share this post


Link to post
Share on other sites
4 minutes ago, Grof said:

a better management of Registry, with similar commands as in NSIS

Which command are you missing in AutoIt3 in your mind?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

I've responded to your other post, as mentioned the UDF I mentioned covers almost everything you requested.

 

Share this post


Link to post
Share on other sites

Here are the whole NSIS set of operations:

 

https://nsis.sourceforge.io/Registry_plug-in

 

I'm trying to use AutoIt as a portabilizer so the operations used more frequently (in NSIS) are:

 

registry::MoveKey (Rename the original key in the registry for restore it on leaving)

registry::RestoreKey (COPY THE KEY FROM PORTABLE FOLDER TO REGISTRY)

registry::DeleteKey (delete a key)

 

But also the others are useful...

 

AutoIt seem to be more "reliable" than NSIS and more flexible,

NSIS can be used as a portabilizer (writing in source code) or can be used as a compiling engine in PortableApps (PA in a wrapper with its own commands for semplifing the project phase).

A complete AutoIt solution could be a killer app for NSIS e PApps in the portable field.

 

Another good portabilizer is YAP:

 

http://yap.rolandtoth.hu/#usage

 

If the AutoIt programmers can be interested, this tool is very good but is discontinued) : - (

It came as a fork of NSIS (you can see the similar syntax), and developed indipendently.

 

* For PORTABILIZER I'm talking about a launcher for operations, not a sandbox manager like Evalaze, ThinApp o TurboStudio.

Share this post


Link to post
Share on other sites

I was forgetting...

NSIS (NullSoft Installer System) is an installer.

It's not created for build a portable launcher.

AutoIt is created to execute operations, for this reason seems to be better than NSIS

Share this post


Link to post
Share on other sites

Subz thanks for your help, is very appreciate.

 

About your idea there is a problem:

When you create a launcher you have to reduce the connection with the operative system.

If Microsoft in the next release use another command all the project fail to works.

Viceversa if this command insn't in old version of windows don't works.

Share this post


Link to post
Share on other sites
1 hour ago, Grof said:

I was forgetting...

NSIS (NullSoft Installer System) is an installer.

I understand as both the Autoit3 and SciTE4AutoIt3 installers are build with NSIS. ;) 
... but Autoit3 is not a installer generator like NSIS and all possible needed functions are available through UDF's or can build easily yourself with the provided internal functions.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

"can build easily yourself with the provided internal functions".

 

I don't understand...

How can I rename a Key with the AutoIt internal function?

Could you write an example?

Share this post


Link to post
Share on other sites

Are you unable to read what's been posted? Go look at the threads that people have linked and stop with this foolishness.

We're not writing your script for you, and if you cant manage it with all the suggestions given to you already, then it's time to admit you can't learn how to program.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

@Subz gave you the udf you needed. It can’t be more obvious than that. It’s in you other thread about the same topic

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
8 hours ago, Subz said:

I still use Wraithdu RegFunc UDF (see link below), _RegMoveKey should do what you're after, the UDF also includes RegExport function and a number of other useful registry functions like _RegKeyExists, RegValueExists.

 

 


My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites

Hi,

 

I have to apologize with everyone.

 

As i have said I'm newbie (AND I'M NOT A PROFESSIONAL PROGRAMMER).

Moreover, this forum is difficult for me to nemage.

 

I have read again the message of Subz and now i will try to follw his suggestion.

 

Thanks again.

 

(Anyway would be great if AutoIt had native registry management!!!).

Share this post


Link to post
Share on other sites
17 minutes ago, Grof said:

(Anyway would be great if AutoIt had native registry management!!!).

Same speech about the ability of the cat of making the coffee.
This thing has been said many times:
AutoIt it's a very powerful language thanks to its various set of UDFs, where, in most cases, are more reliable than the native functions, so, have a wide look at what you can do with the tools you have, and build your own if you don't have what you need :)


Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites

Finalmente un italiano!!!

Non sono riuscito a trovare UDF. Cosa significa?

 

(il problema è "build your own if you don't have what you need".

Edited by Grof

Share this post


Link to post
Share on other sites

@Grof
Yes, I'm italian but, since these we are on the AutoIt "English" forum, we have to talk in English as well.
UDF stands for User Defined Function(s), a sort of library in which you can store some useful functions to use like an include.

Sì, sono italiano ma, siccome siamo sul forum di AutoIt Inglese, dobbiamo parlare in Inglese.
UDF sta per "Funzioni Definite dallUtente", ed è una sorta di raccolta di funzioni utili da utilizzare come una libreria :)

Edited by FrancescoDiMuro

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...