AutoHotkey Community

It is currently May 26th, 2012, 11:06 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: November 3rd, 2009, 6:56 pm 
Offline

Joined: June 14th, 2009, 7:48 pm
Posts: 331
Hi,
Trapped in soft dimension . . .
I (try to) automate a soft (ruby) install.
The 3rd installation page include a SysTreeView321 with 2 checkboxes I have to check.
I have no problem to move from items to items.
Send, e move from the default Ruby check Box to the first item starting with the letter e. Which is Enable RubyGems

When I use the keyboard the space bar check the boxes ok.

But I cannot reproduce it when automating, I tried:
Send, {Space}
Send, `
(With a space after the `)
Send,
(With 2 spaces after the ,)
and lots of things I don't even remember ...
:P
Image
Well, ... : Heellpp ! ! ! :roll:
Mistake : In the picture I meant Send not run


Last edited by awannaknow on November 3rd, 2009, 9:15 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 3rd, 2009, 7:01 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
Code:
Send, %A_Space%


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 3rd, 2009, 9:14 pm 
Offline

Joined: June 14th, 2009, 7:48 pm
Posts: 331
A Big thank you jaco0646

:wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 3rd, 2009, 11:06 pm 
You should check if the installer has a /Silent option.

Ruby is Open Source, so it should be no problem, if that option is not available, to add it (including the wanted sub-options).

HTH


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 4th, 2009, 12:32 pm 
Offline

Joined: June 14th, 2009, 7:48 pm
Posts: 331
Hi n-l-i-d,
Thank you for the idea I didn't tought about this.
I checked it's a Nullsoft Install System v2.33 and the silent install switch is /S
I tried in xp run command:
c:\ruby.exe /S
"c:\ruby.exe" /S
"c:\ruby.exe /S"
"c:\ruby.exe" "/S"
etc...
But nothing works.
Maybe it's disabled.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 4th, 2009, 1:53 pm 
I tried the following command line, and that worked (NSIS help):

Quote:
ruby186-27_rc2.exe /S /D=C:\rubytest


It did seem to install the RubyGems part, but I'm not sure if the silent install includes the options you want.

If not, you could try to get a hold of the original NSIS script, and adapt it to your needs.

HTH


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: JSLover, Kirtman, Miguel, XstatyK and 59 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group