[Request] HOW TO: Perform silent install of Directory Opus 9

I just wanted to confirm that the Directory Opus 8 silent install proceedure refrenced at [url]HOW TO: Perform silent (un)install of Directory Opus] works with Directory Opus 9 without any problems.

Follow it exactly and you shouldn't have any problems. I did find it seems to work better if you place the text file with your cirt information to the same directory dopus.exe is located prior to running the silent reg and cirt update.

I have multiple licences of DOpus and I haven't ran into issues reusing the setup.iss on diffrent machines, if your having problems creating one for yourself just save this as setup.iss using notepad:

[InstallShield Silent] Version=v6.00.000 File=Response File [File Transfer] OverwrittenReadOnly=NoToAll [{556DF27F-5B74-11D5-B876-004005E12EF1}-DlgOrder] Dlg0={556DF27F-5B74-11D5-B876-004005E12EF1}-SdWelcome-0 Count=5 Dlg1={556DF27F-5B74-11D5-B876-004005E12EF1}-SdLicense-0 Dlg2={556DF27F-5B74-11D5-B876-004005E12EF1}-SdAskDestPath-0 Dlg3={556DF27F-5B74-11D5-B876-004005E12EF1}-SdSelectFolder-0 Dlg4={556DF27F-5B74-11D5-B876-004005E12EF1}-SdFinish-0 [{556DF27F-5B74-11D5-B876-004005E12EF1}-SdWelcome-0] Result=1 [{556DF27F-5B74-11D5-B876-004005E12EF1}-SdLicense-0] Result=1 [{556DF27F-5B74-11D5-B876-004005E12EF1}-SdAskDestPath-0] szDir=C:\Program Files\GPSoftware\Directory Opus Result=1 [{556DF27F-5B74-11D5-B876-004005E12EF1}-SdSelectFolder-0] szFolder=Desktop Tools Result=1 [Application] Name=Directory Opus Version=9.0.0.9 Company=GPSoftware Lang=0009 [{556DF27F-5B74-11D5-B876-004005E12EF1}-SdFinish-0] Result=1 bOpt1=0 bOpt2=0

I created a 100% unattended silent install for Directory Opus 9 that is a little more advanced, try to show how I did it. Used Inno Setup (free at jrsoftware.org) to compile everything into one bundeled setup.exe file.

Downloaded latest version of Directory Opus and used 7z to extract all files to a folder called c:\temp_dopus9
file list:
data1.cab
data1.hdr
data2.cab
ikernel.ex_
layout.bin
Setup.exe
Setup.ini
setup.inx

Copied my certificate information and put into text file called dopus_cert.txt and put it into the same folder, c:\temp_dopus9

Created batch file called DOpus_v9_silent.cmd

[code]@echo off&color 0b&cls

echo.&echo running dopus silent install...
start "" /wait setup.exe /s
echo.&echo done

echo.&echo copying cirt to dopus dir
copy dopus_cert.txt "C:\Program Files\GPSoftware\Directory Opus"

echo running dopus reg...
chdir "C:\Program Files\GPSoftware\Directory Opus"
dopus.exe /cert dopus_cert.txt /regcode ■■■■ /norun

echo.&echo done
ping -n 8 127.0.0.1 > nul
[/code]
Saved into the same folder, c:\temp_dopus9

Installed INNO and created new installer, the following is the setup script used:

[code][Setup]
AppName=DOpus v9.0.0.9 Silent Installer
AppVerName=DOpus v9.0.0.9 Silent Installer
DefaultDirName=c:\temp_dopus9
DefaultGroupName=DOpus v9.0.0.9 Silent Installer
DisableProgramGroupPage=yes
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
Source: "C:\temp_dopus9\Setup.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\temp_dopus9*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[Run]
Filename: "{app}\DOpus_v9_silent.cmd"; Flags: waituntilterminated[/code]

Compiled the setup program into one 18MB executible. The new setup.exe silent command line:
setup.exe /SP- /SILENT /NORESTART /NOCANCEL /NOICONS

Thats it!

I'm sure there is a more elegant way to do this but I wanted to maintain the integrity of the original setup program while still automating the entire procedure.

I haven't done it yet but you can easily add other files and folders to include images, scripts, and sound files then modify the batch file to copy them to your applicable directories.

Anyone have any questions, feel free to ask.

Sam