Jump to content

Recommended Posts

Posted

i use runonceex:

WshShell.regWrite(KeyBase + "\\75\\1", CDROM + "\install\\winamp5\\winamp505.msi INI=\"" + CDROM + "\install\\winamp5\\winamp.ini\" INSTALLDIR=\"%ProgramFiles%\\Winamp\\\" /qb", "REG_SZ");

is it right? :blushing:


Posted

Regarding command calls. If it's not pure RUnOnceEX or Batch files (or even INF) than I'm not to sure. I'm tempted to say your own your own if you go to tother routes (beppemito), but I believe beppemito's it correct. I make no guarantee though. Try in Batch first then convert?

@a06lp

They are seperate files and go to different locations. I may in the next release add another command to copy it to install dir or something, but no guarantees. Just use a batch call to copy it over

copy %SETUPDIR%\winamp.ini %INSTALLDIR%\winamp.ini

Where %SETUPDIR% is the path to the winamp.ini file (the one to go in your Winamp directory. You can add it to your INI file for the setup, but who knows. %INSTALLDIR% is the directory winamp is installed to.

@SiMoNsAyS

I"m about to leave so no specfiices. But generally,

it's HKCR\WinampFile , and HKCR\Directory

Posted

@Alanoll

I understand what you're saying, but I can't have two files named the same thing in the same dir... "winamp.ini" is my current Installation settings. If I copy my "winamp.ini" of prefs, it will overwrite...

Posted

so call one winamp5.ini and use that for the stuff in [sETUP] , the preference one winamp.ini

the one you specify in INI= can be called ANYTHING.

Posted
so call one winamp5.ini and use that for the stuff in [sETUP] , the preference one winamp.ini

the one you specify in INI= can be called ANYTHING.

:blink: I'm an id***...

I knew that...

Sorry for the trouble.

Posted

can i use a method like this?

runonceex (Window Post Install script: WPI)

WshShell.regWrite(KeyBase + "\\75\\1", "cmd.exe /c %systemdrive%\install\\winamp5\\install.cmd", "REG_SZ");

install.cmd

start /wait %systemdrive%\install\winamp5\winamp505.msi INI="%systemdrive%\install\winamp5\winamp.ini" /qb
EXIT

winamp.ini

[SETUP]
XAUDIO=1
Xmodernskin=1
Xextra=1
Xregopt=1
XNAME=xxxx
XKEY=xxxxx-xxxxx-xxxxx-xxxxx

Posted (edited)
@SiMoNsAyS

I"m about to leave so no specfiices. But generally,

it's HKCR\WinampFile , and HKCR\Directory

thanks Alanoll ;)

edit: ok so here it's an example, this will left only "play in winamp" and "enque in winamp" removing the winamp bookmark entry on the right click menu for files and folders

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Winamp.File\shell\ListBookmark]

[-HKEY_CLASSES_ROOT\Directory\shell\Winamp.Bookmark]

Edited by SiMoNsAyS
Posted

@beppemito

let me be clear, it will work however you want to call it. I'm just not sure on the syntax for your WPI file. It looked correct before, so I"m not sure. However you call it, it should work. But you're just on your own on syntax for anything other then batch commands and INFs. :P

Posted

Hi,

Tried it & it Works great!!!

Can I use this to set other options, like:

Default File & playlist ICON

"Show winamp in: Systray..."

maybe add, additional skins & plugins...

Posted
@SiMoNsAyS

I"m about to leave so no specfiices. But generally,

it's HKCR\WinampFile , and HKCR\Directory

thanks Alanoll ;)

edit: ok so here it's an example, this will left only "play in winamp" and "enque in winamp" removing the winamp bookmark entry on the right click menu for files and folders

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Winamp.File\shell\ListBookmark]

[-HKEY_CLASSES_ROOT\Directory\shell\Winamp.Bookmark]

Thanks for the tip ;)

Which key should i remove to suppress "Enqueue in Winamp" as well ? I only want to leave "Play in Winamp".

Also, i'd like to get rid of both "Add to Winamp bookmark's ..." and "Enqueue in Winamp" for the playlist files (*.m3u).

EDIT : Okay, i found out after searching a bit in the registry. So it is :

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Winamp.File\shell\Enqueue][-HKEY_CLASSES_ROOT\Winamp.File\shell\ListBookmark]

[-HKEY_CLASSES_ROOT\Winamp.File\shell\open]

[-HKEY_CLASSES_ROOT\Winamp.PlayList\shell\Enqueue]

[-HKEY_CLASSES_ROOT\Winamp.PlayList\shell\ListBookmark]

[-HKEY_CLASSES_ROOT\Winamp.PlayList\shell\open]

[-HKEY_CLASSES_ROOT\Directory\shell\Winamp.Bookmark]

It'll only let "Play in Winamp" for both Winamp playlists and media type files.

Posted

@MTK

umm...

Default File & playlist ICON
Could be done most likely.
"Show winamp in: Systray..."

Not sure, buta gain, might be able to be done.

maybe add, additional skins & plugins...

I won't add those to the installer. But as a note, plugins (and their installers) are just copied to the plugin folder in Winamp, as are the skins (but in the Skins folder). You want to have your skin active upon first run, just set XSKINSETTING to the string that identifies your skin. (Open up winamp with it already loaded, right-click, select skin, and see what it's name in Winamp is)

Posted

What am I doing wrong? It just comes up with an installation wizard, which isn't unattended at all.

RunOnceEx.cmd

REG ADD %KEY%\006 /VE /D "WinAmp 5.05" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\SOFTWARE\winamp\winamp.msi INI="%CDROM%\SOFTWARE\winamp\winamp.ini"" /f

I have also tried this

RunOnceEx.cmd

REG ADD %KEY%\006 /VE /D "WinAmp 5.05" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\SOFTWARE\winamp\winamp.msi INI=\"%CDROM%\SOFTWARE\winamp\winamp.ini\"" /f

And my WinAmp Setup INI...

winamp.ini

[SETUP]
XAGENT=0
XLIBRARY=1
XINTEX=1
XMODERNSKIN=1
XAUDIO=1
XVIDEO=1
XVISUAL=1
XEXTRA=0
XDIRCONT=1
XTYPECONT=1
XAUDIOCD=0
XINET=0

Thanks for your time.

Posted

@Alanoll:

By Plugins, I don't meen to install them, but to select them as Active-Plugin...

can it be done as you said about the skin?

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...