+ Post New Thread
Page 3 of 5 FirstFirst 12345 LastLast
Results 31 to 45 of 63
Windows Thread, Audacity MSI needed in Technical; Try one of the following either batch or vbs i havnt tried them on logon, they seem to work inside ...
  1. #31
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    22

    Thumbs down

    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

    Code:
    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

    Code:
    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

  2. Thanks to tomscaper from:

    Jay_Jay (12th May 2008)

  3. #32

    Join Date
    Aug 2007
    Location
    Kent
    Posts
    78
    Thank Post
    10
    Thanked 4 Times in 4 Posts
    Rep Power
    14
    Thanks Tom the scripts worked great, I just scheduled a batch file to run at logon for each user

  4. #33
    Heebeejeebee's Avatar
    Join Date
    Nov 2006
    Location
    Intergalactic Cruise
    Posts
    1,043
    Thank Post
    68
    Thanked 75 Times in 59 Posts
    Rep Power
    34
    To get Audacity and Lame working easily (and without having to install anything) download the portable apps version (Portable Apps Audacity), download Lame (Lame) and drop the lame_enc.dll into the Audacity\App\LAME folder.

    Job done! Easy as pie.

    HBJB

  5. Thanks to Heebeejeebee from:

    psbresner (18th March 2010)

  6. #34

    Join Date
    Sep 2008
    Location
    Molde
    Posts
    2
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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?

  7. #35
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    22
    Quote Originally Posted by XistEnCe View Post
    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

    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.
    Attached Files Attached Files

  8. Thanks to tomscaper from:

    XistEnCe (24th September 2008)

  9. #36

    Join Date
    Sep 2008
    Location
    Molde
    Posts
    2
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thanks!

    Thanks a million!
    Worked out great


  10. #37

    Join Date
    Feb 2008
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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?

  11. #38
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    22
    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.

  12. #39


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148
    Quote Originally Posted by vorschlaghammer View Post
    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.

    Code:
    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

  13. #40

    Join Date
    Nov 2008
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by lee_sri View Post
    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
    MSI / Windows Installer
    Audacity release 1.2.6

    http://www.inprose.com/package-repository.html

  14. #41

    Join Date
    Dec 2008
    Location
    Bishop Auckland
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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.

  15. #42

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123
    Quote Originally Posted by chrish16 View Post
    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.


    Code:
    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 :-)

  16. #43


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by srochford View Post
    why not just push it out everywhere - it's free and installs pretty quickly :-)
    you'll be a linux convert next

  17. #44

    Join Date
    Dec 2008
    Location
    Bishop Auckland
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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?

  18. #45

    Join Date
    Feb 2007
    Location
    Norfolk
    Posts
    137
    Thank Post
    2
    Thanked 9 Times in 9 Posts
    Rep Power
    16
    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

SHARE:
+ Post New Thread
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Audacity +lame.dll
    By Dos_Box in forum Educational Software
    Replies: 7
    Last Post: 28th November 2007, 02:45 PM
  2. Needed...
    By russdev in forum General EduGeek News/Announcements
    Replies: 0
    Last Post: 30th July 2007, 10:11 PM
  3. Audacity, LAME & GPMC
    By j17sparky in forum Windows
    Replies: 1
    Last Post: 2nd February 2007, 12:22 PM
  4. advice needed on weather a new server is needed
    By projector1 in forum Hardware
    Replies: 3
    Last Post: 24th February 2006, 09:20 AM
  5. Phone effect in Audacity?
    By dagza in forum Educational Software
    Replies: 4
    Last Post: 3rd November 2005, 05:50 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •