Help - Search - Members - Calendar
Full Version: [Tool] NAR - Nero Application Remover
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4, 5

   


Google Internet Forums Unattended CD/DVD Guide
x-Shadow-x
Well here is my first release, I have been working on this for a little bit, and I want to share it.
There is no support for this rite now, I have no time to work on it. There will be a new NAR coming out when I have time. You can use the versions in this thread for now, if they don't work, too bad.


Extractor


Info
Nero original file size: 370Mb's
Nero Unpacked size: 1.74-1.84GB's (depending on what version)

CODE
Instructions

This will step you through all the steps to make a custom installer for Nero 9.
I have made it so you cannot remove crucial files.

#1
You need to extract the Nero 9 installer. Now there are 2 ways you can do this. You can use the Extractor (which is at the bottom of the page), or you can use 7zip. Im going to use the Extractor. Extract the Extractor to where the Nero 9 installer is. Then drag the Nero 9 installer onto the the Extractors exe. The Extractor will open and start extracting the files. Wait untill it extracts then rename the extracted folder to "Nero".

#2
Now to remove the applications and languages you dont need. You will need NAR (which you can get at the bottom of the page). Extract it into the Nero folder and run it. Select the applications and languages you dont want/need and press Ok. It will delete all of the folders containing all of the unneeded applications and languages you selected. If you mess up, just re-extract the installer. Now you need to input your serial at the bottom of the app (where the XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX is), delete the "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" and type\paste your serial in and hit replace. Your serial will replace the dummy serial. Once you have done that, you can select the default language for all of your nero apps (English is default). Once done, click the Create SFX button. It will start making the SFX, it may take a while to compress (depending on how many applications/Languages you removed). Once it has compressed, it is ready.

You now have your slimmed down and silent installer for Nero 9. You can add it to WPI or whatever you want.

Note: You need to input a real serial or the installation will fail.
Note: Do not close NAR when you are creating the SFX.
Note: There is a right click context menu if you need help, its there.

This is still new so if you find any bugs or have an idea to make it better, please post here.
Note: If you have used a earlier version of NAR (earlier then v1.2.3), please clean your files/registr with General Cleaning Tool.
Note: I have posted a beta which might work for some of you, if you want to test it, please do so. If you get an error, pleaase refer to post #122.

Download:
NAR 1.2.4
http://www.2shared.com/file/4510309/c990a5ca/NAR.html
http://www.megaupload.com/?d=WBSCPW35
Extractor
http://www.2shared.com/file/4510691/1042545a/Extract.html
http://www.megaupload.com/?d=34A1PEC8
Extractor x64
http://www.2shared.com/file/4772401/aa85a7...xtract_x64.html
http://www.megaupload.com/?d=ZAUUM40T
;-------------
NAR-BETA
http://www.2shared.com/file/4568973/1c07ab3a/NAR-Beta.html
http://www.megaupload.com/?d=YJDDQRVJ
;-------------

Download is in bottom right corner.
ricktendo64
This is nice
yulyo
I have this error with Nero-9.0.9.4c_trial




7-Zip 4.57 Copyright © 1999-2007 Igor Pavlov 2007-12-06

Processing archive: C:\Documents and Settings\Yulyo\Desktop\Nero-9.0.9.4c_trial.exe

Error: Can not open file as archive
belivakov
Tnx! It's really great! Can U add language remover to NAR?
x-Shadow-x
QUOTE (yulyo @ Nov 22 2008, 03:52 AM) *
I have this error with Nero-9.0.9.4c_trial




7-Zip 4.57 Copyright © 1999-2007 Igor Pavlov 2007-12-06

Processing archive: C:\Documents and Settings\Yulyo\Desktop\Nero-9.0.9.4c_trial.exe

Error: Can not open file as archive


What did you use to open it with?

And Ill work on adding a language removal tool.
ricktendo64
Hey x-Shadow-x, this is to fix your quotes in Config.txt (one has to use a backspace):
CODE
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="Setupx.exe /i /q SERIALNUMBER=\"xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx\" EULAACCEPTED=\"1\" INSTAPP=\"ALL\""
;!@InstallEnd@!

BTW I think WinRAR sfx would be better for this install, because I notice when you use 7zip sfx it extracts and launches SetupX.exe then the 7zipsfx.exe process will disappear from the taskmgr...when this happens to me I use WinRAR sfx because I notice it stays open until SetupX finishes
x-Shadow-x
Ah good point. I will fix In a sec.
CoffeeFiend
To remove an app, you remove two folders: the unit_app_XX being the app itself, and if it exists unit_hlp_XX (the help for it obviously):
  • 1: InCD
  • 4: Nero Burning Rom
  • 6: Nero Express
  • 5: Nero CoverDesigner
  • 10: Nero PhotoSnap
  • 12: Nero Recode
  • 13: Nero ShowTime
  • 14: Sountrax
  • 15: Nero StartSmart
  • 16: Nero Vision
  • 17: Nero WaveEditor
  • 19: Nero DriveSpeed
  • 20: Nero InfoTool
  • 21: Nero Rescue Agent
  • 22: Nero BurningRights
  • 50: Nero Disc Copy Gadget
  • 57: Nero DiscSpeed
  • 64: Movie Templates - Starter Kit
  • 71: Nero Live

You also always remove unit_app_75 (NeroAskToolbar)

Others (might not be present):
  • 2: Nero 3D Studio
  • 3: Nero BackItUp 4
  • 7: Nero Home
  • 8: NeroImageDrive
  • 9: Nero MediaHome
  • 11: Nero PhotoSnap Viewer
  • 18: Nero CD DVD Speed
  • 30: Nero ProductInstaller 4
  • 49: Nero Move It
  • 51: Nero Mobile
  • 53: SecurDiscViewer
  • 56: NeroTest
  • 58: Nero LiquidTV
  • 63: Nero ControlCenter 4
  • 73: NeroRadioGadget
  • 74: NeroLiveGadget
  • 75: NeroAskToolbar
  • No numbers: Nero ScratchBox, Nero SoundBox, Nero AudioEffectLibrary, Nero Container, etc.

These infos brought to you by your neighbourly hex editor and setupx.exe from Nero 9 (search for <NERO> or <FAMILY name="Nero"> to view the full XML)

Edit (for the sake of completedness):
Seemingly you can just remove the extra language files (in subdirs) as-is, without breaking anything. Same goes with "runtime" folders, like unit_tpi_directx-9c-redist-d3dx9-30, unit_tpi_vcredist-x86-2005Sp1 and unit_tpi_windows-installer-3.1
x-Shadow-x
Yes, I have already figured that out. Thus the app. smile.gif
CoffeeFiend
That post wasn't to make you aware of that, but rather for other people who might have wanted those infos (instead of a tool, or perhaps to make their own, or just wanted to know what's going on, as a compiled autoit script doesn't let you peek). I don't think anyone posted that list yet (the forum search found nothing for that at least).

Just sharing the infos, that's all.
ricktendo64
I downloaded chm files and updated the cabs with them, I also removed all the non english languages and edited the MSI installers to remove any langs from the installer too using installshield (also removed windows installer, dx redist and other misc stuff too)

I got a pretty small Nero 9 install now thanks x-Shadow-x

As for unattendedly making a WinRAR sfx I have never done it so anybody else know how to make a WinRAR sfx unattededly plz show us
CoffeeFiend
QUOTE (ricktendo64 @ Nov 22 2008, 10:14 PM) *
I downloaded chm files and updated the cabs with them

What chm files? For what? Just curious...

QUOTE (ricktendo64 @ Nov 22 2008, 10:14 PM) *
I also removed all the non english languages and edited the MSI installers to remove any langs from the installer too using installshield

That could be scripted. Deleting files is trivial. Modifying a MSI installer is fairly simple too (using the OpenDatabase and OpenView methods of the WindowsInstaller.Installer object and simple SQL-like commands) Looks like just removing the files works though (saves 300-some MBs).

QUOTE (ricktendo64 @ Nov 22 2008, 10:14 PM) *
(also removed windows installer, dx redist and other misc stuff too)

I figured that was probably fairly easy to strip too (haven't actually looked yet though)

QUOTE (ricktendo64 @ Nov 22 2008, 10:14 PM) *
As for unattendedly making a WinRAR sfx I have never done it so anybody else know how to make a WinRAR sfx unattededly plz show us

The help file (winrar.chm) has the infos about all the switches. The commands are stored as comments (added using command c, and loaded from a file using the -z switch, as the help file suggests)

Edit: BTW, you don't need a large and fancy thinstalled unpacker just for a standard 7zip sfx. Just "7z.exe x Nero-9.x.x.x.exe -oc:\some\path\" will do... That's trivial to script too.
ricktendo64
QUOTE (crahak @ Nov 22 2008, 10:30 PM) *
QUOTE (ricktendo64 @ Nov 22 2008, 10:14 PM) *
I downloaded chm files and updated the cabs with them

What chm files? For what? Just curious...

CoffeeFiend
1.8GB extracted (out of which like 165MB are used by unit_hlp_XX folders), and the help files are still optional? I'm speechless.

Edit: downloading them? trivial to do, using apps like wget...
ricktendo64
This could probably be done by the program too, it could dl, rename and cab archive the help files updating the original cab files with the dummy chm files
x-Shadow-x
Update NAR 1.1
Just made up a quick language remover. I will implement NAR-LR with the NAR tomorrow sometime.
Tweaked NAR a bit, Added more stuff to remove.
cybpsych
QUOTE (x-Shadow-x @ Nov 22 2008, 08:52 AM) *
Now that it is saved, you can run ether "Large Build.bat" or "Small Build.bat". "Large Build.bat" will take less time to make, but the SFX in the end will be larger then if you use "Small Build.bat". It will take a while to compress (depending on how many applications you removed and if you used Large Build or Small Build). Once it has compressed, it is ready.

Hi bro, good work on this. it makes every1 easier to slim down the bloated installer newwink.gif

I'm curious on the Small Build and Large Build batch files. Both uses the same 7zip compression level, therefore it shouldn't make any huge difference in size. The only command that is taking extreme long time is UPX, and that only compresses the SFX stub, not the actual compressed file. Just my 2c newwink.gif

QUOTE (ricktendo64 @ Nov 23 2008, 11:14 AM) *
I downloaded chm files and updated the cabs with them, I also removed all the non english languages and edited the MSI installers to remove any langs from the installer too using installshield (also removed windows installer, dx redist and other misc stuff too)

I got a pretty small Nero 9 install now thanks x-Shadow-x

hi rick, care to share your method in removing those extra stuffs (e.g editing MSI installers, windows installers, dx redist, etc.)??

BTW, how small is your Nero 9 installer now? smile.gif


Thanks guys!
cybpsych
btw, what does NAR stands for? blushing.gif

Nero Application Remover?
x-Shadow-x
Hi cybpsych, NAR 1.1 removes all of the un needed stuff (e.g dx redist, windows installer 3.1, vcredist and ASK toolbar, ect.).
I have gotten my installer to around 63MB's.
NAR stands for Nero Application Remover.
boooggy
can u mix nar with nar language ?
aranmalo
as is used the NAR Language Remover? because d'nont delete the languages.
ajua
This isn't working for me I've made three different packages. One with only Nero and Nero Express, other with those and CoverDesigner and another with all the latter plus Recode.

The SFX extract the files, setupX launches, works for a while in the background but nothing gets intalled.

I even created the SFX manually, witht the same result.
ricktendo64
Try not making a 7zip sfx and see if it works by running SetupX.exe with the switches while extracted, if it works that means that 7zip did not wait for SetupX to complete install and prematurely deleted the temp extracted files
x-Shadow-x
Yes, what rick says sounds true. It works fine for me.
boooggy, I will implement NAR-LR into NAR sometime this week, I need to find time.

There are acouple problems with NAR-LR, im trying to fix them. Will post update soon.
boooggy
thx for the answer shadow.
good work thumbup.gif
mtbbac
nero 9 hijack all file association.....
ricktendo64
QUOTE (mtbbac @ Nov 24 2008, 05:58 AM) *
nero 9 hijack all file association.....

I suspected Nero did this but not sure, something hijacked my jpg, bmp and png extensions (i removed Nero PhotoCrap BTW)

Was not sure it was Nero 9 but it could be
x-Shadow-x
Hum, I will have to see that, Will test on v-computer later.
ajua
QUOTE (ricktendo64 @ Nov 23 2008, 10:45 PM) *
Try not making a 7zip sfx and see if it works by running SetupX.exe with the switches while extracted, if it works that means that 7zip did not wait for SetupX to complete install and prematurely deleted the temp extracted files

It was 7-Zip SFX module fault. I repackaged my install using WinRAR and it installed without problems.
ricktendo64
OK I been thinking and this could probably be solved with one or a combination of both these config.txt's:

Will extract files to "%temp%\nero9tmp" and may prevent files from beeing deleted prematurely (will not solve the issue of 7zip sfx module waiting for SetupX to finish)
CODE
;!@Install@!UTF-8!
GUIMode="2"
InstallPath="\"%temp%\\nero9tmp\""
RunProgram="Setupx.exe /i /q SERIALNUMBER=\"serial\" EULAACCEPTED=\"1\" INSTAPP=\"ALL\""
;!@InstallEnd@!


Or use cmd.exe to do START /WAIT
CODE
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="hidcon:cmd /c start /wait /b \"%%T\\Setupx.exe\" /i /q SERIALNUMBER=\"serial\" EULAACCEPTED=\"1\" INSTAPP=\"ALL\""
;!@InstallEnd@!

%%T = full extraction path (7zSD_EN.chm)
x-Shadow-x
Update
Made a new Winrar SFX'r.
ScOOt3r
I cant even get past the uncompress stage uniextract keeps telling me this:

D:\Nero\Nero-9.0.9.4c_trial.exe cannot be extracted
filetype returned was: Nothing Found (overlay)

any ideas?
ricktendo64
QUOTE (ScOOt3r @ Nov 25 2008, 09:09 AM) *
I cant even get past the uncompress stage uniextract keeps telling me this:

D:\Nero\Nero-9.0.9.4c_trial.exe cannot be extracted
filetype returned was: Nothing Found (overlay)

any ideas?

7-Zip can do it, try it
x-Shadow-x
Edited first post, only UniExtract and 7zip can open the Nero.exe (So far).
ajua
I got an error with CoverDesigner. It was asking for a .Def file when i tried to open it.

I made an installer with Express, Recode and CoverDesigner only. Also, i removed all languages except spanish and english.
x-Shadow-x
I will look into that rite now elajua.
Edit: It was an error with NAR-LR, try the new version.

Update
Fixed NAR-LR. No more error when installing languages. Need to read the new instructions.
ajua
Will try the new language remover tomorrow.
thanks.
urie
UniExtract can't unpackit either

here is UniExtract.log

CODE
7-Zip 4.57  Copyright (c) 1999-2007 Igor Pavlov  2007-12-06

Processing archive: C:\Temp\Nero-9.0.9.4c_trial.exe

Error: Can not open file as archive
aranmalo
the Update the new Fixed NAR-LR. and the new instructions ,this is in the first post?
aranmalo
I removed all except nero burning and Express. Also, i removed all languages except spanish, according to instructions of the first post, but the folder is 402 MB. Why?. I want a nero Lite spanish very small, same like x-Shadow-x but I did not do it. I keep the instructions but does not go out, any suggestions?

thanks
lucho667
I have the same dude that @aranmalo xD. I have Nero Burning ROM, Nero Express and Nero Recode and the size is 497 Mb ... unsure.gif. Any way, the file compressed has a size of 156 Mb.

Your job is great smile.gif and very easy to make.

Regards
x-Shadow-x
At aranmalo

The new instructions are on the first page. The folder is 402MB's because you havent made it into an SFX yet, when you create the SFX, it will compress it to a smaller size.

Thanks lucho667, it will just get easier from now on.
aranmalo
I get error in the installation, I think it is to remove the language, maybe it's because my English is not good and I do not follow instructions properly. if anyone I can do it only with nero burning and nero express in Spanish I appreciate it.

greetings and thanks

aranmalo
x-Shadow-x
At aranmalo
Have you used the updated tools? If not, re-extract the installer and start over just to make sure.

Update
Made a new extractor.
aranmalo
Thank you, I will try again tomorrow and tell you how I was.

greetings
x-Shadow-x
Hope it works for you. smile.gif
HowdyDoody
I'm trying to use your program, but where do I find config.txt?
x-Shadow-x
It should be in the SFX maker download. smile.gif
HowdyDoody
Well, I followed the instructions to the T. I got nothing. My machine went through the motions, but I got nothing. System Restore says that the items were installed, but nada.

I did find my problem with the config.txt. I had an old version of the SFX Maker.
x-Shadow-x
Ah, the old version is screwie.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.