Jump to content

Recommended Posts

Posted

Ive got it running OK off a network share with mandatory profiles (although i need to update them so it doesnt ask every time to associate project files)

 

2 small problems I get

 

a) You get an error message saying a reg key couldnt be created, something about AUP, anyone know where this is?

 

b)It seems to default to Microsoft sound mapper rather than the actual sound card in the PC. Im sure this could be changed with the profile too but is there any way to get it not to do this?

  • 3 months later...
Posted

Sorry to dig up an old thread:

 

Which method are people finding the best for blasting out Audacity +Lame?

 

At the moment we run the zip version off our app share, but it doesnt automatically pick up the lame encoder,requiring it to be specifyed on each machine.

 

Is there a way around that?

  • 4 weeks later...
Posted
Sorry to re-digg it up but I have got the zip version, extracted it from the zip to our shared drive but when i click the exe or a shortcut i made to the exe it doesn't go, gives a error relating to persmissions on it, last time i checked I am the Administrator so can do what ever I want, is it anti-administrator for some reason?!
Posted

Ive tryed everything to get the LameMP3 encoder to work.

The regedits ive tryed dont appear to work unfortunatelly. :(.

 

Could really do with that MSI file with Lame already configured/intergrated into Audacity.

  • 1 month later...
Posted
Like Boo, I have tried many things to get this stupid lame file to work with Audacity and it's just not happening, is there any way that the lame file can just be found without having to point to it every time ? :(
Posted

Try one of the following either batch or vbs i havnt tried them on logon, they seem to work inside windows.

 

Run etiher on logon

 

dim oShell
set oShell = Wscript.CreateObject("Wscript.Shell")
oShell.RegWrite "HKCU\Software\Audacity\Audacity\MP3\MP3LibPath" , "C:\Program Files\Audacity\Plug-Ins\libmp3lame-3.97\lame_enc.dll" , "REG_SZ"
oShell.RegWrite "HKCU\Software\Audacity\Audacity\Version" , "1.2.6" , "REG_SZ"
oShell.RegWrite "HKCU\Software\Audacity\Audacity\PrefsVersion" , "1.1.1r1" , "REG_SZ"
Set oShell = Nothing

 

 

REG ADD "HKCU\Software\Audacity\Audacity\MP3" /v MP3LibPath /t REG_SZ /d "C:\Program Files\Audacity\Plug-Ins\libmp3lame-3.97\lame_enc.dll" /f
REG ADD "HKCU\Software\Audacity\Audacity" /v Version /t REG_SZ /d "1.2.6" /f
REG ADD "HKCU\Software\Audacity\Audacity" /v PrefsVersion /t REG_SZ /d "1.1.1r1" /f

  • Thanks 1
  • 2 weeks later...
  • 4 months later...
Posted

I'm sorry for starting all this up again, but what was the final solution for you lot?

 

And is there any functions not included in the portable version contra the full?

Posted
I'm sorry for starting all this up again, but what was the final solution for you lot?

 

And is there any functions not included in the portable version contra the full?

 

Have added the msi which has been zipped.

 

Inside are two msi's one in the folder audacity, that is the main program and the other is Audacity MP3 Plugin that just puts the lame plugin in to the folder c:\Program Files\Audacity\Plug-Ins\lame

 

Next add the vbs script to logon for users it is located, the Audacity MP3 Plugin.

 

 

This it the vbs code

 

Dim OShell
dim fso : set fso = CreateObject("Scripting.FileSystemObject")
dim wshShell :  Set wshShell = Createobject("WScript.Shell")

'audacity mp3 location
wshShell.RegWrite "HKCU\Software\Audacity\Audacity\MP3\MP3LibPath" , "C:\Program Files\Audacity\Plug-Ins\lame\lame_enc.dll" , "REG_SZ"

'audacity language
wshShell.RegWrite "HKCU\Software\Audacity\Audacity\Locale\Language" , "en" , "REG_SZ"
wshShell.RegWrite "HKCU\Software\Audacity\Audacity\Version" , "1.2.6" , "REG_SZ"
wshShell.RegWrite "HKCU\Software\Audacity\Audacity\PrefsVersion" , "1.1.1r1" , "REG_SZ"

 

It guess you could combine both msi's into one but they both work fine the way they are.

 

Hope this helps, if you need anything just pm me.

Audacity.zip

  • Thanks 1
  • 1 month later...
  • 2 weeks later...
Posted
we have a redirected start menu and just create the shortcut manually. If you have any experience editing msi you could always manually create a shortcut within the msi.
Posted
This worked great for me too, but it didn't create a shortcut in the Start Menu. I try to script the shortcut to be created at login, but it didn't work. Any suggestions?

 

It wont work at login, only at startup.

 

IF NOT EXIST  "%AllUsersProfile%\start menu\programs\app_folder\appname.lnk" xcopy "\\server_share\path_to_shortcut\appname.lnk" "%AllUsersProfile%\start menu\programs\app_folder\appname.lnk" /v /o 

  • 1 month later...
Posted

Hi

I've been pulling my hair out trying to get this to work for our requirements.

I've tried to use batch files, vbs files, reg files etc.

 

Basically i understand that the registry settings need to be added once the user has logged on because the settings are for current user.

So when i've been trying to use a batch file to install the .msi and then copy the lame mp3 file and then call the reg file, and even tried just adding the reg items into the batch file. Everything works apart from the reg settings being added.

The simple thing that everyone seems to be saying is to set the script to user logon, but i can't as i only need Audacity installing in 1 classroom so i can't have the reg settings installing on every computer a user logs onto. I need it installing for uses but only for 1 classroom.

I thought i had it by using the login scripts but for computers not uses in group policy but it didn't seem to run at all.

What i have ended up doing is that in the startup script i have xcopy the vbs file to the commputers startup folder in the start menus so that it the reg settings get installed locally but silently when a user logs onto the PCs in the classroom.

If someone can give advice on how to install for login scripts but for a set of computers rather than users then please let me know.

Posted

The simple thing that everyone seems to be saying is to set the script to user logon, but i can't as i only need Audacity installing in 1 classroom so i can't have the reg settings installing on every computer a user logs onto.

 

Although it will "clutter" up the registry there's no harm in having this in every user's registry - it doesn't "do" anything.

 

If you really don't want it on every machine then you could adapt @tomscaper's code so that it checks to see if Audacity is installed.

 

 

set oShell = Wscript.CreateObject("Wscript.Shell")
set oFSO=createobject("scripting.filesystemobject")
if ofso.fileexists("c:\Program Files\Audacity\audacity.exe") then 
 oShell.RegWrite "HKCU\Software\Audacity\Audacity\MP3\MP3LibPath" , "C:\Program Files\Audacity\Plug-Ins\libmp3lame-3.97\lame_enc.dll" , "REG_SZ"
 oShell.RegWrite "HKCU\Software\Audacity\Audacity\Version" , "1.2.6" , "REG_SZ"
 oShell.RegWrite "HKCU\Software\Audacity\Audacity\PrefsVersion" , "1.1.1r1" , "REG_SZ"
end if

 

Finally (!!) why not just push it out everywhere - it's free and installs pretty quickly :-)

Posted
To be able to use the user logon script do i need to put the group policy configuration on an OU that has user accounts within or can i put it on an OU with only computers in but configure group policy on the user part?
Posted

I have mandatory profiles for all pupils, and roaming profiles for staff so i added the registry keys to the mandatory profiles, and assume the staff can select whatever language they like. Job done.

 

Craig

Posted
To be able to use the user logon script do i need to put the group policy configuration on an OU that has user accounts within or can i put it on an OU with only computers in but configure group policy on the user part?

 

No, the user part needs to "hit" the user object in the OU structure.

 

If you need to use the computer part to execute scripts or commands at user logon, use this:

gpo:Computer Configuration\Administrative Templates\System\Logon, Run these programs at user logon

 

 

Regards,

Mattias Ohlsson

Inprose

  • 1 month later...
Posted

Another way is to create a group policy for audacity and only add those machines that you want it installed on. Then add the user logon script to that GPO.

 

The script will then only run when anyone uses the machines with audacity on.

 

Although it will "clutter" up the registry there's no harm in having this in every user's registry - it doesn't "do" anything.

 

If you really don't want it on every machine then you could adapt @tomscaper's code so that it checks to see if Audacity is installed.

 

 

set oShell = Wscript.CreateObject("Wscript.Shell")
set oFSO=createobject("scripting.filesystemobject")
if ofso.fileexists("c:\Program Files\Audacity\audacity.exe") then 
 oShell.RegWrite "HKCU\Software\Audacity\Audacity\MP3\MP3LibPath" , "C:\Program Files\Audacity\Plug-Ins\libmp3lame-3.97\lame_enc.dll" , "REG_SZ"
 oShell.RegWrite "HKCU\Software\Audacity\Audacity\Version" , "1.2.6" , "REG_SZ"
 oShell.RegWrite "HKCU\Software\Audacity\Audacity\PrefsVersion" , "1.1.1r1" , "REG_SZ"
end if

 

Finally (!!) why not just push it out everywhere - it's free and installs pretty quickly :-)

Posted
I thought i saw a post with a link to a msi file for audacity somewhere but i have had a quick search and can not find anything.

 

Could anyone be kind enough to let me know if one exsists anywhere?

 

Thanks

Lee

 

How about putting it in a shared area for them too access it

 

We have done that :)

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



×
×
  • Create New...