MSFN Forum: Does anyone have experience - 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

Does anyone have experience in installing any of these programs silently? Rate Topic: -----

#1 User is offline   Dislocated Time 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 02-November 07

  Posted 25 May 2008 - 07:34 AM

:hello:
If there are any experienced and empathetic AutoIt users out there that could for example just show me the code for installing chemsketch silently, I could work on the rest of the programs listed below by myself. I must admit I tried to figure out how to use the AutoIt parameters for installing Chemsketch until 4:00 this morning and am still stumped. I couldn't get past the licensing page. For those people that have had someone to give them some hints it's all pretty easy hmm? (*rub my eyes*). :blink:

I still don't have silent installers for:

ACDLabs Chemsketch
Geogebra
Deadline Equation Solver
PageDefrag
Auslogic Registry Defrag

I figured out how to silently install my firefox extensions externally without integrating them into the firefox setup routine, just in case I still wanted to add some more. If anyone is interested in knowing that code, here it is:

Firefox extensions:
for %%e in ("path to your firefox extensions here\*.xpi") do "path to firefox.exe here\firefox.exe" -install-global-extension "%%e"

Firefox themes:
for %%e in ("path to your firefox themes here\*.jar") do "path to firefox.exe here\firefox.exe" -install-global-theme "%%e"

This post has been edited by Dislocated Time: 25 May 2008 - 07:57 AM



#2 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 25 May 2008 - 01:16 PM

For chemistry software:
Opt("TrayIconDebug", 1)
Opt("SendKeyDelay", 200)
; Executable file name
$EXECUTABLE = "chemsk11.exe"
$title = "ACD/Labs Software Setup Wizard v11.01"
; Installation folder
$INSTALLLOCATION = @ProgramFilesDir & "\ACDFREE11"

If FileExists($INSTALLLOCATION & "\CHEMSK.EXE") Then
	MsgBox(0x40010, @ScriptName, "Please uninstall previous version of ACD/Labs before using this script", 4)
	Exit
EndIf

; Run the installer
Run($EXECUTABLE)

; Welcome to the ACD/Labs Software Setup Wizard
WinWait($title, "ACD/Labs Software, v11.00, Build: Dec/17/2007")
WinActivate($title, "ACD/Labs Software, v11.00, Build: Dec/17/2007")
ControlClick($title, "", "TBitBtn3")

; End-User License Agreement
WinWait($title, "I &accept the terms in the License Agreement")
WinActivate($title, "I &accept the terms in the License Agreement")
ControlCommand($title, "", "TRadioButton2", "Check", "")
ControlClick($title, "", "TBitBtn2")

; Custom Setup of ACD/Labs Software Components
WinWait($title, "&Details...")
WinActivate($title, "&Details...")
ControlClick($title, "", "TBitBtn3")

; Programs Folder of Start Menu
WinWait($title, "Create icons for &all users")
WinActivate($title, "Create icons for &all users")
ControlClick($title, "", "TBitBtn3")

; ACD/Labs Software Optional Setup
WinWait($title, "Clear &All")
WinActivate($title, "Clear &All")
ControlClick($title, "", "TBitBtn4")

; Ready to Start Installation
WinWait($title, "&Install")
WinActivate($title, "&Install")
ControlClick($title, "", "TBitBtn2")

; Ready to Start Installation
WinWait($title, "&Finish")
WinActivate($title, "&Finish")
ControlCommand($title, "", "TCheckBox2", "UnCheck", "")
ControlClick($title, "", "TBitBtn3")


#3 User is offline   bj-kaiser 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 05-December 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 25 May 2008 - 01:39 PM

  • Geogebra:
    http://www.geogebra.....php?f=5&t=2874
  • Pagedefrag:
    if the EULA popup disturbs you, look for a registry value that is created after accepting it. just import that to the registry unattended in your installation and you should be set.
  • Auslogic Registry Defrag:
    uses the InnoSetup installer system, you can create an answer file by running 'setup.exe /saveinf="file.inf"'. The other way around is (obviously) 'setup.exe /loadinf="file.inf"'


#4 User is offline   Dislocated Time 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 02-November 07

Posted 26 May 2008 - 01:26 AM

:thumbup Thank you!

Now I'm having problems trying to backtrack and figure out how that information is captured by AutoIt, because it doesn't show how to do that in the help file. I'm not too stupid to get the "Hello World" part done, but the recorder i.e. recording part is not explained very well in the program documentation or help files.

#5 User is offline   Dislocated Time 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 02-November 07

Posted 26 May 2008 - 01:54 AM

:thumbup Thank you!

Trying to figure out AutoIt is driving me nuts.
The documentation in the program just ain't enough.

I'll try out your suggestions.

#6 User is offline   bj-kaiser 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 05-December 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 26 May 2008 - 02:09 AM

I tend to treat AutoIt as the last option. Most Installer systems for Windows have silent switches or a possibility to define answer files. The problem is that there is not "one way to rule them all".

#7 User is offline   Dislocated Time 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 02-November 07

Posted 26 May 2008 - 02:15 AM

Yes, I agree, there seems to be so much individuality in writing programs that no form of patent answer could possibly exist.

I would love to be able to use the windows post installer, but that seems even more complicated and I'm not a programmer even though I taught myself a little about writing batch files in MSDOS.

After reading a bit on WPIW, I take that back, it seems that WPIW isn't quite as complicated as AutoIt.

Where can I find more information about the AutoIt recording procedure?

This post has been edited by Dislocated Time: 26 May 2008 - 04:59 AM


#8 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 26 May 2008 - 06:38 AM

View PostDislocated Time, on May 26 2008, 11:15 AM, said:

Where can I find more information about the AutoIt recording procedure?

Download and install Scite.
Use %programfiles%\AutoIt3\SciTE\ScriptWriter\AU3Record.exe for recording.
I don't use recording.

#9 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 26 May 2008 - 02:42 PM

View Postradix, on May 26 2008, 07:38 AM, said:

View PostDislocated Time, on May 26 2008, 11:15 AM, said:

Where can I find more information about the AutoIt recording procedure?

Download and install Scite.
Use %programfiles%\AutoIt3\SciTE\ScriptWriter\AU3Record.exe for recording.
I don't use recording.

That is the only feature of AutoIt that i use for two or three programs. The recorder function is great and easy to use.

#10 User is offline   Dislocated Time 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 02-November 07

Posted 26 May 2008 - 05:28 PM

Quote

The recorder function is great and easy to use.

I tried to use the recorder function in the same state as it was installed on the program Chemsketch and I got the following results:

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run('D:\Documents and Settings\Adelheid\Desktop\chemsk11.exe')

Then I tried to compile it and it wasn't a silent install...
of course that's pretty naive, but I have no idea how to configure AutoIt to really record the whole sequence correctly.

#11 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 27 May 2008 - 01:13 AM

View PostDislocated Time, on May 27 2008, 02:28 AM, said:

but I have no idea how to configure AutoIt to really record the whole sequence correctly.

Don't forget to check Record Window Text in Recorder.
Use just the send keys not mouse clicks (TAB to move, Space to check buttons and click the buttons, ENTER to click the buttons, ALT+F4 to close some explorer windows opened by installer at the end of installation. Anyway I tried to record an installation progress for CamStudio 2.0 and the script needs to be edited to work properly. Is better to learn some functions and made the script yourself. Control functions is more reliable than Send keystrokes.

This post has been edited by radix: 27 May 2008 - 01:16 AM


#12 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,342
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 May 2008 - 01:15 AM

Quote

This procedure allows you to quickly perform the installation for a number of computers. The idea is that during the primary installation on one computer, all of the responses to the setup program requests and questions are written to a specified response file, which then can be copied to another computer, and the setup program will perform the installation in silent mode using this file.

1. On any of the local computers, start the installation by running the chemsk10_.exe from the command-line mode using the /A switch:






chemsk10_.exe /a


2. After setup program runs, on the Welcome panel of the ACD/Labs Software Setup Wizard that appears, click Next to proceed to the Administrative Page.

3. In the Silent Script area, select the option corresponding to the silent script type you want to be created during installation. This can be either the proprietary ACD/Labs script or the standard Windows Installer (MSI).


4. Under Save Script To, type the fully qualified pathname (or click Browse) for the location where the response file will be written. The ACD/Labs script files are text files with the extension .TXT and the Windows Installer files have the .MSI file extension.


Important Make sure that the folder location specified here is write accessible for creating the script files.


5. Click Next , and then complete the installation. ChemSketch will now have been installed on the computer.


6. If you have chosen the ACD/Labs silent script to be generated, then open the newly created script file. An example file is shown below:

/LA:Y
/ST:1
/DP:C:\Users\robin.000\AppData\Local\Temp\acdstp01\ Disk1\
/UN:Robin
/UC:ACD/Labs
/AERI:N
/SD:C:\ACDFREE10\
/SF:ACDLABS 10.0(Free)
/SC4A:Y
/IOD:Y
/LICSRV.SERVER.ENABLED:N
/LICSRV.PROXY.ENABLED:N
/LICSRV.PROXY.AUTHENABLED:N

The line starting with "/DP:" above is where the required installation files are extracted to during the initial installation procedure. The “Disk1” folder contains the files SETUP.EXE, DISK1.BIN, DISK1.TXT and a folder EXTSOFT. The path “C:\Users\robin.000\AppData\Local\Temp\” in this example is the local user’s %TEMP% directory.



If you want to share this silent installation script with other users, you will need to copy this Disk1 folder to a shared folder on your computer or on a network accessible drive. Then edit the path in the script file to point to the new location of the DISK1 folder. Be sure to copy this script.txt file into this DISK1 folder as well.


To perform the silent installation on another computer, the user will need to navigate to the new location of the Disk1 folder and enter the following command-line string:


setup.exe script.txt


#13 User is offline   Dislocated Time 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 02-November 07

Posted 29 May 2008 - 01:10 AM

Thank you for your hints.
I'll try them out soon.

Share this topic:


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

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



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