PDA

View Full Version : [Request] A New Tab for Tweaks on the Integrator



OrcoXP
07-11-2006, 05:37 AM
I can see it now...
Check Boxes to select the tweaks you want.
Radial Buttons for those that would conflict.
2 Main sections...one for [ExtraFileEdits] (hivesys.inf and such) and one for the INF method.

If a tweak is applied through [ExtraFileEdits] then disable the ability to add it via INF...to reduce redundancy.

And the option to break the operation and save a new Tweaks Addon CAB file.

Just "AppendToFile" with the appropriate opening info...(Entries.ini)

;#### Tweaks Addon by %USERNAME% ####

[General]
Builddate = %DATE%
Description = Tweaks Addon by %USERNAME%
Language = English
Title = Tweaks Addon by %USERNAME%
Version = 1.0
Website = http://siginet.ryanvm.net/forum

then if anything in the INF method is chosen...(Entries.ini)


[Filenames]
%TweaksInf%=RVMTweaks.inf

[Sysoc]
RVMTweaks=ocgen.dll,OcEntry,%TweaksInf%,HIDE,7

[dosnet_files]
d1,%TweaksInf%

[txtsetup_files]
%TweaksInf% = 100,,,,,,,20,0,0


then if anything in the [ExtraFileEdits] method is chosen...(Entries.ini)

[ExtraFileEdits]


then for each selection from the [ExtraFileEdits]...(Entries.ini)

;specific tweak
Filename|Original Text String|New Text string|1


and additionally if anything in the INF method is chosen...(RVMTweaks.inf)

;#### Tweaks Addon by %USERNAME% ####

[Version]
Signature=$Windows NT$

[Optional Components]
RVMTweaks

[DefaultInstall]
OptionDesc = "Tweaks Addon by %USERNAME%"
Tip = "Tweaks Addon by %USERNAME%"
Modes = 0,1,2,3
CopyFiles = RVMTweaks.AddReg

[RVMTweaks]
OptionDesc = "Tweaks Addon by %USERNAME%"
Tip = "Tweaks Addon by %USERNAME%"
Modes = 0,1,2,3
CopyFiles = RVMTweaks.AddReg

[RVMTweaks.AddReg]

And finally for each selection in the INF method...(RVMTweaks.inf)

;specific tweak
HKU,".Default\AppEvents\Schemes\Apps\.Default\.Default\ .Current,,,"Windows Vista Default.wav"



hehe...I understand the concept of it but lack the progamming ability to create the tool...so if I have to wait until v1.5 then I understand... :wink:

PS. I have been looking for a way to AppendToFile with JavaScript or VB or anything that I can run from a webapp but I have not found anything good...if you can assist I would appreciate it greatly

Siginet
07-12-2006, 05:05 PM
I'm not sure what you mean.

[ExtraFileEdits] won't edit anything if it allready has. Inf will edit it reguardless... but you would still end up with what is needed.

If you want to have the registry edited after setup you can make an addon that loads during runonceex. ;) Then that would be the last thing installed to ensure you have the correct thing loaded.

OrcoXP
07-12-2006, 08:42 PM
I'm not sure what you mean.

[ExtraFileEdits] won't edit anything if it allready has. Inf will edit it reguardless... but you would still end up with what is needed.

If you want to have the registry edited after setup you can make an addon that loads during runonceex. ;) Then that would be the last thing installed to ensure you have the correct thing loaded.

Huh? Are you saying [ExtraFileEdits] won't locate and alter a line ?

Siginet
07-13-2006, 03:16 AM
Yes it will locate and alter a line. But if the line doesn't match it doesn't alter it.

I don't know what you are asking. Is there some sort of an issue you are having with ExtraFileEdits? Or inf files?

OrcoXP
07-13-2006, 03:45 AM
Yes it will locate and alter a line. But if the line doesn't match it doesn't alter it.

I don't know what you are asking. Is there some sort of an issue you are having with ExtraFileEdits? Or inf files?

So make it match what's currently there.

I'm just suggesting a way of processing tweaks

MrNxDmX
07-13-2006, 05:16 PM
why not just try collecting your favorite tweaks and put them in a reg file, then convert it to inf file, with reg2inf converter, then make an addon? that specificatins you described seems too complicated. and i think its a very hard job. especially the one "If a tweak is applied through [ExtraFileEdits] then disable the ability to add it via INF...to reduce redundancy."
or just collect them, and run it after windoes install or via runonceex.

OrcoXP
07-13-2006, 06:59 PM
Because that's what I am trying not to do...

I just think it would be a nice idea...but apparently I'm the only one.

n7Epsilon
07-13-2006, 09:39 PM
Maybe the integrator could check for the existence of %WinDir%\Microsoft.NET\Framework\v2.0.50727\mscorl ib.dll (which means the .NET framework is installed) and then enable a new tab, where you can drag a lot of REGs into a listcontrol and then reg2inf makes an INF (well currently it only supports INF method), then the integrator could write an entries.ini file and directly add it into i386 (and optionally save as addon 7z via a button).

I will add the ability for this use of reg2inf in next versions:

reg2inf @"MyListOfRegFiles.txt" Output.inf [/UseStrings]

where "MyListOfRegFiles.txt" would contain:

C:\MyTweaks1.reg
C:\Documents and Settings\Username\Desktop\NewTweak.reg
F:\Moretweaks.reg

Siginet
07-13-2006, 11:15 PM
Nice idea n7Epsilon. Sorry Orco I didn't understand your request. But it does sound pretty complicated. I think n7Epsilon's idea is pretty close to yours though. I may add plugin support for n7Epsilon's reg2inf.

OrcoXP
07-13-2006, 11:23 PM
Yeah, sorry...I seem to have lost my English to English Dictionary...lol