MSFN Forum: Need to silent install Pdf Machine and.... - 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

Need to silent install Pdf Machine and.... help help help Rate Topic: -----

#1 User is offline   hessam 

  • Member
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 15-December 07

Posted 17 December 2007 - 06:14 PM

Hellp;Hellp;Hellp ME

Need to silent install
Pdf Machine 12.12 url:www.broadgun.com
http://www.pdfmachine.com/
And Ashampoo Magical Snap 2.10
And Ashampoo Burning Studio 7.1.0.0
When method /silent AND /VERYSILENT /SP USE PROGRAMs Ashampoo run After silent installation during setup windows xp:help me


#2 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 18 December 2007 - 06:47 AM

Perhaps you can kill the task if it runs straight away. See the Unattended Guide, there is an example there I believe.

#3 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 18 December 2007 - 02:34 PM

Ashampoo Burning Studio 7.21
 
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.10.0
 Author:         myName
 
 Ashampoo Burning Studio 7.21
 
 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

Opt("TrayIconDebug", 1)
Opt("SendKeyDelay", 200)
; Executable file name
$EXECUTABLE = "ashampoo_burningstudio721_sm.exe"
; Installation folder
$INSTALLLOCATION = @ProgramFilesDir & "\Ashampoo\Ashampoo Burning Studio 7"
; Serial number
$SN = "XXXXXX-XXXXXX-XXXXXX"

If FileExists(@ProgramFilesDir & "\burningstudio.exe") Then
	MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Ashampoo Burning Studio before using this script", 4)
	Exit
EndIf

; Disable the default internet browser (to prevent Ashampoo Burning Studio installer to open it at the end of installation)
$REG = RegRead("HKCR\HTTP\shell\open\command\", "")
RegDelete("HKCR\HTTP\shell\open\command\", "")

; Run the installer
RunWait($EXECUTABLE & " /sp- /verysilent /norestart")

; Close Ashampoo Burning Studio process
ProcessWait("burningstudio.exe")
$PID = ProcessExists("burningstudio.exe")
If $PID Then ProcessClose($PID)

Sleep(2000)

; Settings
RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 7", "RegKey", "REG_SZ", $SN)
RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 7\ash_inet", "InfoChannel_ashnews_Enabled", "REG_DWORD", "0")
RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 7\ash_inet", "InfoChannel_-updates-_Enabled", "REG_DWORD", "0")
RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 7\ash_inet", "FirstStart", "REG_DWORD", "0")
RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 7", "RegKey", "REG_SZ", $SN)

; Restore the default internet browser
RegWrite("HKCR\HTTP\shell\open\command\", "", "REG_SZ", $REG) 


Ashampoo Magical Snap 2.30
 
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.10.0
 Author:         myName
 
 Ashampoo Magical Snap 2.30
 
 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

Opt("TrayIconDebug", 1)
Opt("SendKeyDelay", 200)
; Executable file name
$EXECUTABLE = "ashampoo_magicalsnap230_sm.exe"
; Installation folder
$INSTALLLOCATION = @ProgramFilesDir & "\Ashampoo\Ashampoo Magical Snap 2"
; Choose language (look in X:\Program Files\Ashampoo\Ashampoo Magical Snap 2\lang e.g. English = en-us)
$LangID = "en-us"
; Choose skin (look in X:\Program Files\Ashampoo\Ashampoo Magical Snap 2\Skins e.g. Default skin name = Default)
$SkinName = "Default"
; Serial number
$SN = "XXXXXX-XXXXXX-XXXXXX"

If FileExists(@ProgramFilesDir & "\ashsnap.exe") Then
	MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Ashampoo Magical Snap before using this script", 4)
	Exit
EndIf

; Disable the default internet browser (to prevent Ashampoo Burning Studio installer to open it at the end of installation)
$REG = RegRead("HKCR\HTTP\shell\open\command\", "")
RegDelete("HKCR\HTTP\shell\open\command\", "")

; Run the installer
RunWait($EXECUTABLE & " /sp- /verysilent /norestart")

; Close Ashampoo Magical Snap process
ProcessWait("ashsnap.exe")
$PID = ProcessExists("ashsnap.exe")
If $PID Then ProcessClose($PID)

Sleep(2000)

; Settings
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2", "RegistrationKey", "REG_SZ", $SN)
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2", "LanguageDetected", "REG_DWORD", "1")
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2", "LanguageFile", "REG_SZ", $LangID)
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2", "SkinName", "REG_SZ", $SkinName)
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2", "GeneralStartWithWindows", "REG_DWORD", "0")
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2", "GeneralShowSplashScreen", "REG_DWORD", "1")
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2", "IntroWindowWelcomeShow", "REG_DWORD", "0")
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2\ash_inet", "InfoChannel_ashnews_Enabled", "REG_DWORD", "0")
RegWrite("HKCU\Software\Ashampoo\Ashampoo Magical Snap 2\ash_inet", "InfoChannel_-updates-_Enabled", "REG_DWORD", "0")
RegWrite("HKLM\Software\Ashampoo\Ashampoo Magical Snap 2", "defaultLangID", "REG_SZ", $LangID)
RegWrite("HKLM\Software\Ashampoo\Ashampoo Magical Snap 2", "RegistrationKey", "REG_SZ", $SN)

; Restore the default internet browser
RegWrite("HKCR\HTTP\shell\open\command\", "", "REG_SZ", $REG) 

This post has been edited by radix: 19 December 2007 - 04:24 AM


#4 User is offline   hessam 

  • Member
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 15-December 07

  Posted 18 December 2007 - 05:11 PM

VERY THANK YOU .
guide
how to use code?


whether from method svcpack put the ENTRIES_name soft .INI
if may put only code attachment for download and method put software to that

#5 User is offline   hessam 

  • Member
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 15-December 07

  Posted 18 December 2007 - 05:18 PM

VERY THANK YOU .
guide
how to use code?


whether from method svcpack put the ENTRIES_name soft .INI
if may put only code attachment for download and method put software to that.

code to where put in attachment
Attached File  Ashampoo_Magical_Snap.rar (417bytes)
Number of downloads: 15

Thank you very much.
NOT VERY GOOD ENGLISH.

#6 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 19 December 2007 - 04:19 AM

That code is AutoIt. You need to install AutoIt http://www.autoitscript.com/cgi-bin/getfil...it-v3-setup.exe
Save those codes in files with extension au3 (Ashampoo_Burning_Studio_7.21.au3
and Ashampoo_Magical_Snap_2.30.au3).
Now edit those files (r. click and Edit).
Just read that script and edit these variables from the top of the script:
($EXECUTABLE, $SN for burning Studio) and ($EXECUTABLE, $LangID, $SkinName, $SN for Magical Snap).
In fact just serial number is required ($SN) and verify that the name of executable file is the same with yours.
Compile the script and place the compiled file in the same folder with the installer.
Build your new silent installers with 7zsd.sfx or WinRAR and set the compiled file to be executed after extraction.
Then place new installers in svcpack folder. In entries.ini just input the name of the installer with no switches, like this:
 
[general]
builddate=2007/05/06
description=Ashampoo Magical Snap
language=English 
title=Ashampoo Magical Snap
version=2.30
website=http://www.ashampoo.com/

[EditFile]
SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
Ashampoo_Magical_Snap_2.30.exe
 


#7 User is offline   hessam 

  • Member
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 15-December 07

Posted 22 December 2007 - 03:57 PM

THANK YOU.

#8 User is offline   ricktendo64 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,120
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2007 - 05:35 PM

View PostArie, on Dec 18 2007, 08:47 AM, said:

Perhaps you can kill the task if it runs straight away. See the Unattended Guide, there is an example there I believe.

I already showed him how to do this but he knows nothing about creating a 7zip sfx

Quote

For pdfMachine.exe
- Extract the installer to a sub directory
- Edit bgsconf.ini
 
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="ashampoo_magicalsnap230_sm.exe /VERYSILENT /MERGETASKS=!regkey"
RunProgram="hidcon:cmd /c tskill ashsnap"
RunProgram="hidcon:cmd /c \"reg add \"HKCU\Software\Ashampoo\Ashampoo Magical Snap 2\" /v RegistrationKey /t REG_SZ /d ABCDEF-123456-ABC123 /f\""
;!@InstallEnd@! 


What stops the browser from launching is the /MERGETASKS=!regkey switch
Here is how I found out how to stop the browser from launching using CMenu's Identify Installer
 
Inno Setup ® Installer.

setup.exe /Option

Install Options
	/LOADINF="filename"
		Instructs Setup to load the settings from the specified file after having checked the command line. This file can be prepared using the '/SAVEINF=' command as explained below.
		Don't forget to use quotes if the filename contains spaces.
	/SAVEINF="filename"
		Instructs Setup to save installation settings to the specified file.
		Don't forget to use quotes if the filename contains spaces.
	/LANG=language
		Specifies the language to use. language specifies the internal name of the language as specified in a [Languages] section entry.
		When a valid /LANG parameter is used, the Select Language dialog will be suppressed.
	/DIR="x:\dirname"
		Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.
	/GROUP="folder name"
		Overrides the default folder name displayed on the Select Start Menu Folder wizard page. If the [Setup] section directive DisableProgramGroupPage was set to yes, this command line parameter is ignored.
	/NOICONS
		Instructs Setup to initially check the Don't create any icons check box on the Select Start Menu Folder wizard page.
	/NOCANCEL
		Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'.
	/COMPONENTS="comma separated list of component names"
		Overrides the default components settings. Using this command line parameter causes Setup to automatically select a custom type.
	/TASKS="comma separated list of task names"
		* Applies to Inno Setup version 5.1.4, and above.
		Specifies a list of tasks that should be initially selected or deselected. To deselect a task, prefix its name with a "!" character.
		Only the specified tasks (and their children) will be selected; the rest will be deselected. Use the /MERGETASKS parameter instead if you want to keep the default set of tasks and only select/deselect some of them.
		Examples:
		Deselect all tasks, then select the "desktopicon" and "fileassoc" tasks:
		/TASKS="desktopicon,fileassoc"
		Deselect all tasks, then select a parent task item, but exclude one of its children:
		/TASKS="parent,!parent\child"
	/MERGETASKS="comma separated list of task names"
		* Applies to Inno Setup version 5.1.4, and above.
		Like the /TASKS parameter, except the specified tasks will be merged with the set of tasks that would have otherwise been selected by default.
		If UsePreviousTasks is set to yes, the specified tasks will be selected/deselected after any previous tasks are restored.
		Examples:
		Keep the default set of selected tasks, but additionally select the "desktopicon" and "fileassoc" tasks:
		/MERGETASKS="desktopicon,fileassoc"
		Keep the default set of selected tasks, but deselect the "desktopicon" task:
		/MERGETASKS="!desktopicon"
	/PASSWORD=password
		Specifies the password to use. If the [Setup] section directive Password was not set, this command line parameter is ignored.
		When an invalid password is specified, this command line parameter is also ignored.
Display Options
	/SP-
		Disables the This will install... Do you wish to continue? prompt at the beginning of Setup. Of course, this will have no effect if the DisableStartupPrompt [Setup] section directive was set to yes.
	/SILENT
	/VERYSILENT
		Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with DisableStartupPrompt or the '/SP-' command line option explained above)
		If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking.
	/SUPPRESSMSGBOXES
		Instructs Setup to suppress message boxes. Only has an effect when combined with '/SILENT' and '/VERYSILENT'.
		The default response in situations where there's a choice is:
		Yes in a 'Keep newer file?' situation.
		No in a 'File exists, confirm overwrite.' situation.
		Abort in Abort/Retry situations.
		Cancel in Retry/Cancel situations.
		Yes (=continue) in a DiskSpaceWarning/DirExists/DirDoesntExist/NoUninstallWarning/ExitSetupMessage/ConfirmUninstall situation.
		Yes (=restart) in a FinishedRestartMessage/UninstalledAndNeedsRestart situation.
		5 message boxes are not suppressible: 
		The About Setup message box.
		The Exit Setup? message box.
		The FileNotInDir2 message box displayed when Setup requires a new disk to be inserted and the disk was not found.
		Any (error) message box displayed before Setup (or Uninstall) could read the command line parameters.
		Any message box displayed by [Code] support function MsgBox.
Restart Options
	/NORESTART
		Instructs Setup not to reboot even if it's necessary.
	/RESTARTEXITCODE=exit code
		Specifies the custom exit code that Setup is to return when a restart is needed. Useful along with '/NORESTART'.
Logging Options
	/LOG
		Causes Setup to create a log file in the user's TEMP directory detailing file installation and [Run] actions taken during the installation process. This can be a helpful debugging aid. For example, if you suspect a file isn't being replaced when you believe it should be (or vice versa), the log file will tell you if the file was really skipped, and why.
		The log file is created with a unique name based on the current date. (It will not overwrite or append to existing files.)
		The information contained in the log file is technical in nature and therefore not intended to be understandable by end users. Nor is it designed to be machine-parseable; the format of the file is subject to change without notice.
	/LOG="filename"
		Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file. If a file with the specified name already exists it will be overwritten. If the file cannot be created, Setup will abort with an error message. 

I then went to this location in regedit and got a list of those task names to use with TASKS or MERGETASKS swithces: regkey,desktopicon,quicklaunchicon

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Ashampoo Magical Snap 2_is1

I hope with the instructions for magic snap you can figure out a way on your own do do Burning Studio, if you don't let me know and I will give it a shot


Source: http://www.wincert.n...?showtopic=2309

This post has been edited by ricktendo64: 22 December 2007 - 05:38 PM


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