Jump to content

Recommended Posts

Posted

Hallo, I want to distribute the software. A serial number is to be transferred. The software should be installed in the background. Updates will be disabled.

Has an idea as I realized with AutoIT?

_splash("PhotoShopCS5.1","install")
DirCreate("c:\LDTemp\")

$error = 0
_splash_next("wait")
$error = RunWait("SWP_Adobe_PhotoShopCS5.1.exe /s /D""c:\LDTemp\""", "c:\LDTemp", @SW_HIDE)

_splash_next("Installieren")
$error = RunWait("c:\LDTemp\Setup.exe /UL1031 /V""SERIALNUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx""", "c:\LDTemp", @SW_HIDE)
_splash_next("fertig: " & $error)
sleep(2000)
DirRemove("c:\LDTemp",1)
Exit $error
Thanks
Posted

Too bad that no one replies here. But I've done it myself.

Here's the code:

_splash("PhotoShopCS5.1","Installation")
DirCreate("c:\LDTemp\")
$error = 0
_splash_next("Dateien werden entpackt")
$error = RunWait('Adobe CS5.1.exe /s /D "c:\LDTemp\"', "c:\LDTemp", @SW_HIDE)
_splash_next("Finale Installation")
$error = RunWait('c:\LDTemp\Adobe CS5.1\set-up.exe --mode=silent --deploymentFile="C:\LDTemp\Adobe CS5.1\Deployment\de_DE_Deployment_x64.xml" --overrideFile="C:\LDTemp\Adobe CS5.1\Serial.xml"', "c:\LDTemp", @SW_HIDE)
_splash_next("fertig: " & $error)
sleep(2000)
DirRemove("c:\LDTemp",1)
Exit $error
Posted

You must create a xml file. For example: serial.xml:

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Payload adobeCode="{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}">
  <Data key="Serial" protected="0">xxxxxxxxxxxxxxxxxxxxxxxxxx</Data>
  <Data key="Registration">Suppress</Data>
  <Data key="EULA">Suppress</Data>
  <Data key="Updates">Suppress</Data>
</Payload>
</Configuration>
Posted

No one is forced to reply, if you post something here and someone has the time on their hands to help and they feel like it then it's their choice if they want to help or not... And since we all live in different time zones, it's not always possible for someone to help.

[u]My dream is to have a dream...[/u]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...