MSFN Forum: autoit with a switch? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

autoit with a switch? Rate Topic: -----

#1 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 August 2005 - 03:40 PM

i am using autoit and i was wondering if i could use a silent install switch with it?

im trying to run a cmd file but it wont work

This post has been edited by ripken204: 25 August 2005 - 03:44 PM



#2 User is offline   iceWolf 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 17-August 05

Posted 25 August 2005 - 04:31 PM

ripken204, on Aug 25 2005, 04:40 PM, said:

i am using autoit and i was wondering if i could use a silent install switch with it?

im trying to run a cmd file but it wont work
<{POST_SNAPBACK}>



well cmd files are auto executing, so it would be somthing like

run( ' "[path]\filename.cmd" [switches]')

if it's msi

run('msiexec /i "[path]\filename.msi" /qn')

#3 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 August 2005 - 05:28 PM

i got it all worked out now, im not using the cmd files, i did it all in AU3

RunWait(@ComSpec & " /c " & 'start /w c:\installs\wrar3501.exe /s', "", @SW_HIDE)

thats part of the code, this is what i originally needed

#4 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 25 August 2005 - 09:46 PM

hmm that could also be written like so:

RunWait( 'c:\installs\wrar3501.exe /s' )

#5 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 August 2005 - 11:08 AM

yes, ur right, i have no clue what i was trying before, so hard to relearn all of the stuff that i have forgotten

#6 User is offline   InTheWayBoy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 709
  • Joined: 16-August 04

Posted 26 August 2005 - 02:17 PM

You need to use this syntax:

RunWait(@ComSpec & " /c " & 'start /w c:\installs\wrar3501.exe /s', "", @SW_HIDE)

When you run something like "net" or "copy"...built-in commands. Or so I've been told :P

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy