+ Post New Thread
Results 1 to 5 of 5
Windows 7 Thread, Deploying a batch file only once? in Technical; Hello, I am having trouble trying to install clicker 6. I would normally use the MSI but i need to ...
  1. #1

    Join Date
    Jun 2010
    Posts
    147
    Thank Post
    29
    Thanked 8 Times in 7 Posts
    Rep Power
    10

    Deploying a batch file only once?

    Hello,

    I am having trouble trying to install clicker 6. I would normally use the MSI but i need to change some options which i have done and tested via a batch file but i need to deploy via GP somehow and let it only apply once?

    I have tried to do it by task schedule but it picks up the task and says it runs and completes but then for some reason doesn't install the software?

    Any other ideas would be great otherwise I will have to pop round to everyone's Laptops to upgrade which would be tedious.....

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,580
    Thank Post
    228
    Thanked 854 Times in 733 Posts
    Rep Power
    295
    just add it to startup scripts but add something like this to the batch file itself

    if exist c:\clicker6fix.txt goto end
    do whatever
    copy "\\server\packages$\clicker6.txt" "c:\clicker6fix.txt"

    :end

  3. Thanks to sted from:

    mrb-solutions (11th June 2013)

  4. #3

    Join Date
    Jun 2010
    Posts
    147
    Thank Post
    29
    Thanked 8 Times in 7 Posts
    Rep Power
    10
    Works a treat if i login as an admin but if i login as staff it wont install the program says doesnt have the sufficient privileges. Even though they should? MEH


    "do not have sufficient access to complete this installation for all users of the machine"

    its because of the "all users of the machine" part. Any work arounds?
    Last edited by mrb-solutions; 11th June 2013 at 12:47 PM.

  5. #4
    EvLPhenom's Avatar
    Join Date
    Apr 2006
    Location
    Sutton Colfield
    Posts
    430
    Thank Post
    21
    Thanked 39 Times in 34 Posts
    Rep Power
    23
    I would do what @sted said. Create a startup script and add a check to it to see if a file exists. If it does ignore the install.

  6. #5

    Join Date
    Jun 2010
    Posts
    147
    Thank Post
    29
    Thanked 8 Times in 7 Posts
    Rep Power
    10
    I did, don't worry i made it work.

    Thanks

SHARE:
+ Post New Thread

Similar Threads

  1. deploy a reg file
    By alonebfg in forum Windows
    Replies: 12
    Last Post: 7th November 2006, 09:19 AM
  2. prezzie batch file to collect dps logs
    By russdev in forum ICT KS3 SATS Tests
    Replies: 4
    Last Post: 16th May 2006, 12:16 PM
  3. batch file help
    By beeswax in forum Scripts
    Replies: 9
    Last Post: 3rd March 2006, 07:48 PM
  4. numbers and batch files
    By russdev in forum Windows
    Replies: 4
    Last Post: 19th November 2005, 09:51 PM
  5. Blocking Batch Files using Group Policy in Server 2003
    By markwilliamson2001 in forum Windows
    Replies: 13
    Last Post: 4th October 2005, 05:28 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
  •