Jump to content

urie

Member
  • Posts

    520
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by urie

  1. I'm working on an install of Powerdvd 9.

    The main program and two updatres were extracted with uniextract

    and I placed the folders in my APPS folder in powerdvd9 folder.

    Here's what I have so in my Appswitch.dat

    Without the FLAGs I can't install the updates until I start powerdvd

    and enter the serial number.


    [powerdvd9]
    REM http://www.gocyberlink.com/english/index.jsp
    REG ADD %KEY%\iAdd /VE /D "PowerDVD 9" /f
    REG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait %SystemDrive%\APPS\powerdvd9\POWERdvd9Ultra/setup.exe /S /v/qn" /f
    FLAG1=HKLM\SOFTWARE\Wow6432Node\CyberLink
    FLAG1=HKLM\Software\Cyberlink
    FLAG1=HKCU\Software\Cyberlink
    REM the line below copies registration data
    FLAG3=%SystemDrive%\Users\jim\Documents\CyberLink
    REM FLAG3=%SystemDrive%\Users\Public\CyberLink
    REM FLAG3=%SystemDrive%\Program Files (x86)\Common Files\CyberLink
    REM FLAG3=%SystemDrive%\ProgramData\CyberLink
    REM FLAG3=%SystemDrive%\Users\All Users\CyberLink
    REM FLAG3=%SystemDrive%\Users\jim\AppData\Local\CyberLink
    REM FLAG3=%SystemDrive%\ProgramData\CyberLink
    REM FLAG4=Software\Cyberlink
    REG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait %SystemDrive%\APPS\powerdvd9\Cyberlink01/setup.exe /S /v/qn" /f
    REG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait %SystemDrive%\APPS\powerdvd9\Cyberlink02/setup.exe /S /v/qn" /f
    REG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait %SystemDrive%\APPS\powerdvd9\activatepowerdvd.exe" /f

    Everything gets installed unattended and I'm not prompted to register.

    The problem is I still have to enter the serial number and activate when I first start powerdvd.

    I think the problem is with the FLAG3 entry I'm using, it's only possible to have one right?

    During runonceextester it says it can't process the FLAG4 entery because FLAG4nr1.txt is missing

    what is FLAG4nr1.txt and where does it go?

    I got it to work by using this autoit script.

    It has to be edited with your serial number.

    Also I'm running on Win7 ultimate X64

    activatepowerdvd.au3


    Opt("WinWaitDelay",100)
    Opt("WinTitleMatchMode",4)
    Opt("WinDetectHiddenText",1)
    Opt("MouseCoordMode",0)
    ClipPut("KEY goes here with no dashes")
    Sleep(1000)
    Run('C:\Program Files (x86)\CyberLink\PowerDVD9\Activate.exe')
    WinWait("Activation","Your trial version e")
    If Not WinActive("Activation","Your trial version e") Then WinActivate("Activation","Your trial version e")
    WinWaitActive("Activation","Your trial version e")
    Sleep(1000)
    Send("{CTRLDOWN}v{CTRLUP}")
    Sleep(1000)
    MouseMove(613,471)
    MouseDown("left")
    MouseUp("left")
    WinWait("Activation","Activating now")
    If Not WinActive("Activation","Activating now") Then WinActivate("Activation","Activating now")
    WinWaitActive("Activation","Activating now")
    Sleep(1000)
    MouseMove(143,149)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    WinKill("Activation")
    Exit

    Wrong method with PowerDVD you actually make the silent installer i,e, an SFX

    Check out the powerdvd silent install

    also Here

  2. This may help just copied from cmd window.


    DISM.exe [dism_options] {WIM_command} [<WIM_arguments>]
    DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
    {servicing_command} [<servicing_arguments>]

    DESCRIPTION:

    DISM enumerates, installs, uninstalls, configures, and updates features
    and packages in Windows images. The commands that are available depend
    on the image being serviced and whether the image is offline or running.

    WIM COMMANDS:

    /Get-MountedWimInfo - Displays information about mounted WIM images.
    /Get-WimInfo - Displays information about images in a WIM file.
    /Commit-Wim - Saves changes to a mounted WIM image.
    /Unmount-Wim - Unmounts a mounted WIM image.
    /Mount-Wim - Mounts an image from a WIM file.
    /Remount-Wim - Recovers an orphaned WIM mount directory.
    /Cleanup-Wim - Deletes resources associated with mounted WIM
    images that are corrupt.

    IMAGE SPECIFICATIONS:

    /Online - Targets the running operating system.
    /Image - Specifies the path to the root directory of an
    offline Windows image.

    DISM OPTIONS:

    /English - Displays command line output in English.
    /Format - Specifies the report output format.
    /WinDir - Specifies the path to the Windows directory.
    /SysDriveDir - Specifies the path to the system-loader file named
    BootMgr.
    /LogPath - Specifies the logfile path.
    /LogLevel - Specifies the output level shown in the log (1-4).
    /NoRestart - Suppresses automatic reboots and reboot prompts.
    /Quiet - Suppresses all output except for error messages.
    /ScratchDir - Specifies the path to a scratch directory.

    For more information about these DISM options and their arguments, specify an
    option immediately before /?.

    Examples:
    DISM.exe /Mount-Wim /?
    DISM.exe /ScratchDir /?
    DISM.exe /Image:C:\test\offline /?
    DISM.exe /Online /?



    DISM.exe /Mount-Wim /?


    /Mount-Wim /WimFile:<path_to_WIM_file>
    {/Index:<image_index> | /Name:<image_name>}
    /MountDir:<target_mount_directory> [/readonly]

    Mounts the WIM file to the specified directory so that it is available for
    servicing. /ReadOnly sets the mounted image with read-only permissions.

    Examples:
    DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1
    /MountDir:C:\test\offline

    DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1
    /MountDir:C:\test\offline /ReadOnly



    DISM.exe /ScratchDir /?


    /ScratchDir:<path_to_directory>

    Specifies a temporary directory to be used for extracting files for
    servicing. The directory must exist.

    If not set, the temporary directory will be used.

    Example:
    DISM.exe /Image:C:\test\offline /scratchdir:D:\Scratch





    DISM.exe /offline /?


    No help topic could be found for the offline option.
    Specify an image to see relevant help topics, using either the /Image or
    /Online command-line option:

    /Image:<path_to_offline_image>

    This is the path to the root directory of the offline Windows image.

    Example:
    DISM.exe /Image:C:\test\offline /?

    /Online

    Specifies that the operation is to be performed against the running Windows
    installation.

    Example:
    DISM.exe /Online /?



    The following commands may be used to service the image:

    WINDOWS EDITION SERVICING COMMANDS:

    /Set-ProductKey - Populates the product key into the offline image.
    /Get-TargetEditions - Displays a list of Windows editions that an
    image can be upgraded to.
    /Get-CurrentEdition - Displays the editions of the specified image.
    /Set-Edition - Upgrades the Windows image to a higher edition.

    UNATTEND SERVICING COMMANDS:

    /Apply-Unattend - Applies an unattend file to an image.

    DRIVER SERVICING COMMANDS:

    /Remove-Driver - Removes driver packages from an offline image.
    /Add-Driver - Adds driver packages to an offline image.
    /Get-DriverInfo - Displays information about a specific driver
    in an offline image or a running operating system.
    /Get-Drivers - Displays information about all drivers in
    an offline image or a running operating system.

    INTERNATIONAL SERVICING COMMANDS:

    /Set-LayeredDriver - Sets keyboard layered driver.
    /Set-UILang - Sets the default system UI language that is used
    in the mounted offline image.
    /Set-UILangFallback - Sets the fallback default language for the system
    UI in the mounted offline image.
    /Set-UserLocale - Sets the user locale in the mounted offline image.
    /Set-SysLocale - Sets the language for non-Unicode programs (also
    called system locale) and font settings in the
    mounted offline image.
    /Set-InputLocale - Sets the input locales and keyboard layouts to
    use in the mounted offline image.
    /Set-TimeZone - Sets the default time zone in the mounted offline
    image.
    /Set-AllIntl - Sets all international settings in the mounted
    offline image.
    /Set-SKUIntlDefaults - Sets all international settings to the default
    values for the specified SKU language in the
    mounted offline image.
    /Gen-LangIni - Generates a new lang.ini file.
    /Set-SetupUILang - Defines the default language that will be used
    by setup.
    /Get-Intl - Displays information about the international
    settings and languages.

    APPLICATION SERVICING COMMANDS:

    /Check-AppPatch - Displays information if the MSP patches are
    applicable to the mounted image.
    /Get-AppPatchInfo - Displays information about installed MSP patches.
    /Get-AppPatches - Displays information about all applied MSP patches
    for all installed applications.
    /Get-AppInfo - Displays information about a specific installed MSI
    application.
    /Get-Apps - Displays information about all installed MSI
    applications.

    PACKAGE SERVICING COMMANDS:

    /Add-Package - Adds packages to the image.
    /Remove-Package - Removes packages from the image.
    /Enable-Feature - Enables a specific feature in the image.
    /Disable-Feature - Disables a specific feature in the image.
    /Get-Packages - Displays information about all packages in
    the image.
    /Get-PackageInfo - Displays information about a specific package.
    /Get-Features - Displays information about all features in
    a package.
    /Get-FeatureInfo - Displays information about a specific feature.
    /Cleanup-Image - Performs cleanup and recovery operations on the
    image.

    For more information about these servicing commands and their arguments,
    specify a command immediately before /?.

    Examples:
    DISM.exe /Image:C:\test\offline /Apply-Unattend /?
    DISM.exe /Image:C:\test\offline /Get-Features /?
    DISM.exe /Online /Get-Drivers /?



  3. you can use tool posted here to decompress driver files W7_DRVPREP also you are far better installing drivers first then backing them up with say DriverMagician.

    urie, if I knew what the .exe did and how it did it, I might consider using it. I found that the compressed files in the Catalyst Display drivers could not be decompressed with 7-Zip or Expand command. Thanks.

    Using the latest Beta version of 7-Zip (9.13 Beta) I have been able to expand the problem files and inject them into an image using DISM. Enjoy, John.

    Sorry i forgot to add links have a look on these threads link 1 and link 2

  4. maxXPsoft, thanks. I have to rethink what I am doing. I am getting the feeling that trying to do this under XP is going to be trouble and it also limits my choices. I am thinking of installing W7 along side XP. I will not allow an Internet connection, so I can run with no security SW. I need to deal with my 3Ware and Catalyst driver problems anyway and I am working on that now. Thanks much for all your help. Enjoy, John.

    you can use tool posted here to decompress driver files W7_DRVPREP also you are far better installing drivers first then backing them up with say DriverMagician.

  5. This is my autounnatend.xml:

    <?xml version="1.0" encoding="utf-8" ?> 
    - <unattend xmlns="urn:schemas-microsoft-com:unattend">
    - <settings pass="windowsPE">
    - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <UserData>
    - <ProductKey>
    <Key>PRODUCTKEY</Key>
    <WillShowUI>OnError</WillShowUI>
    </ProductKey>
    <Organization>eXPerienciaUE.net</Organization>
    <FullName>maestrodellaves</FullName>
    <AcceptEula>true</AcceptEula>
    </UserData>
    - <ImageInstall>
    - <OSImage>
    - <InstallFrom>
    - <MetaData wcm:action="add">
    <Key>/IMAGE/NAME</Key>
    <Value>Windows 7 ULTIMATE</Value>
    </MetaData>
    </InstallFrom>
    <InstallToAvailablePartition>false</InstallToAvailablePartition>
    <WillShowUI>OnError</WillShowUI>
    </OSImage>
    </ImageInstall>
    </component>
    </settings>
    - <settings pass="oobeSystem">
    - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Other</NetworkLocation>
    <ProtectYourPC>2</ProtectYourPC>
    </OOBE>
    </component>
    </settings>
    - <settings pass="specialize">
    - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ComputerName>eXPerienciaUE</ComputerName>
    </component>
    - <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SkipAutoActivation>true</SkipAutoActivation>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:F:/Users/Carlos/Desktop/DVD/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    @ maestrodellaves, remove your serial number from xml.

  6. @ Grabber how can 7C be stand alone.

    3.Requirements:

    1. Windows Vista or Windows 7. (32 bit or 64 bit)

    2. If using Vista, .net framework 3.5.

    3. WAIK for Windows 7

    beacuse you can put it on ur usbstick and take it wherever you want to. and waik ?, only dism, imagex and oscdimg is needed for your architecture nothing else..

    If using Vista, .net framework 3.5
  7. I've used different variations of your imagex command. None of the variations I try are working. I can ran the setup from my computer, and I have recreated the image many times with no change. Is there a limit to the .wim size? I didn't think there was but using windows setup might mean something different. My .wim is the correct place, I've checked plenty of times.

    Please help!!

    Thanks Calboy.

    From what I've see in ur attachment I can assuming u're :

    1. Using Gimagex to capture ur windows installation, use imagex (non GUI) from WAIK, it's been an issue that gimagex is having trouble in xml specification (such as servicing stack etc).

    2. If u're using imagex, u've mistakenly set the flags of the image, for an example ULTIMATE, the command should be:

    "imagex /compress maximum /flags ULTIMATE /capture z: d:\install.wim "Your Image Name" "Your Image Description" /check /verify" or

    "imagex /compress maximum /flags "Ultimate" /capture z: d:\install.wim "Your Image Name" "Your Image Description" /check /verify"

    Note : "/check" n "/verify" it's usefull for wim integrity checking.

    3. If ur install.wim is bigger than 4 GB, use UDF for the DVD image.

    Hello ar_seven_am

    when u talk to the DVD image ur referring to the ISO file that is made using oscdimg.exe. Could you explain to me that means UDF or tell me where can I read about UDF, I'm sorry my ignorance.

    Thank you in advance

    Universal Disk Format UDF

    oscdimg.exe command line options Oscdimg Command-Line Options

  8. Hi guys,

    I have already wrote some scripts for registries and installation of some silent applications, but when I run those scripts I see a cmd window and I don't like that window so can I replace that cmd window with any image?

    If yes, then please tell me how and if possible, please give me the script itself.

    I suggest you try the Actual Autoit Forum

  9. This is my first post, excuse the failure to use English because I am using the google translator. (I'm from Brazil)

    Guys I'm trying to include the serial avast 5 but already tried in several place and found a solution to make unattended installation. I was able to command setup_av_free.exe /VERYSILENT /NORESTART /SP- .but I could not put the serial.

    If anyone knows how to do, although I believe that avast did not provide that.

    For silent installation of version 5 using the parameter /S (case sensitive), but this way it installs all the tools of protection. Individuals can not I install all the tools (eg, protection for e-mail)

    Avast 5 uses innosetup don't understand how /S would work

    i use setup_av_free.exe /SP- /VERYSILENT /NORESTART

    and export registry entries from HKLM\SOFTWARE\ALWIL Software\Avast\5.0 for registration details.

  10. So I have found out how to make auto installers with 7zip and the sfx files. It works really nice and I want to include them in a slipstreamed version of Windows, but instead of having a "Yes/No" for each application, is there a way to include them in one big installer and then check off which ones I want to install and then click an "ok" button to install them?

    Thanks!

    you could also check out UnattendXP or Se7en_UA Web Page and Se7en_UA - Se7en/Vista DVD and xml Creator discussion thread Thread

  11. Max, I've made unattended installation using Se7en_UA in dual layer image, the answer have been there so long, I haven't realize that, anyway I've attached my sample unattended xml, all u need is just copy part of the 2nd xml into the primary xml, enjoy everyone!!! :thumbup

    Autounattend.xml

    Sorry, I've forget to mention I'm using the built in administrator account,I've renamed it into my desired names using unattend.sdb in the security folder!

    Think you have got mixed up here think user meant dual layer meaning just size of dvd i,e, dvd5 or dvd9 because once all applications were added no room on dvd5. As for you autounattend.xml yes one can add x86 and x64 to xml.

  12. Hey John can you please make a au3 file using this registry?????????????

    Windows Registry Editor Version 5.00

    ;Created for AskVG.com by Vishal Gupta

    [HKEY_CLASSES_ROOT\Directory\Background\shell]

    @="none"

    [HKEY_CLASSES_ROOT\Directory\Background\shell\Change Wallpaper]

    [HKEY_CLASSES_ROOT\Directory\Background\shell\Change Wallpaper\command]

    @="control desk.cpl,,@desktop"

    RegWrite("HKCR\Directory\Background\shell", "", "REG_SZ", "none")
    RegWrite("HKCR\Directory\Background\shell\Change Wallpaper\command", "", "REG_SZ", "control desk.cpl,,@desktop")

    you can compile au3 file attached to convert reg files to au3

    Reg2au3.au3

  13. I wanna use it to find where windows hide things :D

    For this purpose, I always use RegShot. It scans the registry, then you can make your changes manually, make a second "short", and compare the two. But even then, you can get any number of results, from a single change to hundreds of them. It still is manual work to find the right keys/values.

    I am not sure if there is a tool that would detect "last" changes by itself; what point it time would it choose as reference?

    I have no experience with InstallWatch, it would be interesting to see how intelligent it is in mapping a change to the application installation reliably.

    Exactly what InstallWatch does

    2va1ht1.png

  14. #1

    - to circumvent the need to backup stuff from userdata when i reinstall, i have it on a different drive, basically anything that i install on systemdrive can be wiped at anytime, no backup needed, just go for it.

    - microsoft likes to name dirs based upon language. I like to be in control of what the location/name is. Call it old habit if you must

    I still don't get it what about stuff programs add to registry and system folder you still need to reinstall most programs.

×
×
  • Create New...