+ Post New Thread
Results 1 to 2 of 2
Scripts Thread, Basic Scripting-WPKG Audacity in Coding and Web Development; Hello Is there anybody out there who can help me with a real weak point in my understanding? (even if ...
  1. #1
    Bankesy's Avatar
    Join Date
    Jan 2011
    Thank Post
    Thanked 1 Time in 1 Post
    Rep Power

    Basic Scripting-WPKG Audacity


    Is there anybody out there who can help me with a real weak point in my understanding? (even if I am letting the profession down)

    Having recently started using WPKG it occurs to me that I have very little knowledge of scripting/coding.

    In this particular instance I am trying to rollout Audacity 2.0.5 onto machines which already have 2.0.3.

    This is the code from the WPKG wiki page:


    <variable architecture="x86" name="PROGFILES" value="%PROGRAMFILES%" />
    <!-- This is a 32-bit program -->
    <variable architecture="x64" name="PROGFILES" value="%PROGRAMFILES(X86)%" />

    <variable name="version" value="2.0.3" />

    <depends package-id="vc-runtime-2008" />

    <check type="uninstall" condition="exists" path="Audacity %version%" />

    <install cmd='%SOFTWARE%\audacity\audacity-win-%version%.exe /sp- /verysilent /norestart' />

    <upgrade cmd='%SOFTWARE%\audacity\audacity-win-%version%.exe /sp- /verysilent /norestart' />

    <remove timeout="300" cmd='%PROGFILES%\Audacity\unins000.exe /verysilent' />

    The problem is as I say I don't truly understand it and as such am going round in circles trying to figure out which bits of that code I need to change/remove.

    I apologise if this appears as if I'm trying to get others to do my work but any help in simple terms will be appreciated and I think if i could properly understand one installation I could go on and do others.

    Thank you

  2. #2
    Boredguy's Avatar
    Join Date
    Jun 2011
    Thank Post
    Thanked 133 Times in 124 Posts
    Rep Power
    Here is our Audacity package details, and we also deploy the lame plugin for MP3 creation at the same time. It is only for 32bit deployment.
    When we update a version, we use the uninstall string that is stored in the registry to remove Audacity and then install a new version as the "upgrade" method.

    <package id="audacity" name="Audacity" revision="2.0" reboot="false" priority="50">
    <check type="uninstall" condition="exists" path="Audacity 2.0" />
    <install cmd='"\\Serverpath\Audacity\v2.0.1\audacity-win-2.0.1.exe" /silent' />
    <install cmd='"\\Serverpath\Audacity\v2.0.1\Lame_v3.99.3_fo r_Windows.exe" /silent' />

    <upgrade cmd='msiexec /q /x{DDAD73A3-56FD-47B0-939F-B6B938B7F884}' />
    <upgrade cmd='"\\Serverpath\Audacity\v2.0.1\audacity-win-2.0.1.exe" /silent' />
    <upgrade cmd='"\\Serverpath\Audacity\v2.0.1\Lame_v3.99.3_fo r_Windows.exe" /silent' />

    <remove cmd='"C:\Program Files\Lame For Audacity\unins000.exe" /SILENT' />
    <remove cmd='"C:\Program Files\Audacity\unins000.exe" /SILENT' />

+ Post New Thread

Similar Threads

  1. SIMS Learning about SQL and Writing basic Scripts
    By chrisateen in forum MIS Systems
    Replies: 45
    Last Post: 17th October 2013, 07:14 PM
  2. Running WPKG (and scripts in general) on WIn7
    By SimpleSi in forum Windows 7
    Replies: 9
    Last Post: 24th June 2011, 11:34 AM
  3. Replies: 6
    Last Post: 26th February 2007, 10:21 AM
  4. Action Scripting in Flash
    By StewartKnight in forum Web Development
    Replies: 11
    Last Post: 4th June 2006, 11:23 AM
  5. The KiXtart free-format scripting language
    By ninjabeaver in forum Downloads
    Replies: 10
    Last Post: 16th June 2005, 12:11 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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