Buster

//Buster
Buster

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • Buster
    Participant
    Post count: 19

    Here is the main installer script: http://pastebin.com/b0rn1wBt

    And here is the batch file installer: http://pastebin.com/VLRJENb7

    Everything but the Epson 240e installs correctly @ line 142 on the tool kit script.

  • Buster
    Participant
    Post count: 19

    I actually just posted about this same issue; I have ran into 3-4 applications now that this occurs. My only resolution has been to create the installer with a batch file. I would love to know a fix for this also.

  • Buster
    Participant
    Post count: 19

    Turns out even though they looked ok the registry entry was a REG_SZ entry instead of a REG_EXPAND_SZ somehow. I fixed that reboot and pushed the install again and it succeeded like normal.

    Thanks for helping me look down the right path (no pun intended) Muhammad!

  • Buster
    Participant
    Post count: 19

    I haven’t used that one myself so I’m not familiar with the details on it. The key is to figuring out what will make it install correctly from the system account; sorry I couldn’t be more help.

  • Buster
    Participant
    Post count: 19

    Ah well mine was erroring out; I did have one that acted like that and it was only installing to the system account and not all users. What type of file is the installer, exe or msi?

  • Buster
    Participant
    Post count: 19

    For my appllication Avaya One-X 6.2.6.03 it was extracting the files to $envWinDir\System32\config\systemprofile\AppData\Local\Downloaded Installations\ as the system account. Then the installer was looking in $envWinDir\SysWOW64\config\systemprofile\AppData\Local\Downloaded Installations\ to run and since it was not there the installer would fail.

    My work around was to grab the extracted files and in the script I copy them to the location that the installer is looking for them during the Pre-Installation section and then delete the files as part of the Post-Installation section.

  • Buster
    Participant
    Post count: 19

    If you try to run using PsExec as the system account with just the installer does the process also fail? I had one application that extracted to one location then tried to install from a different path causing the failures.

    With testing with PsExec you can atleast find out if that is the issue you are facing. The command is psexec.exe -s \\localhost “PathToYourExe”

  • Buster
    Participant
    Post count: 19

    That is the path I started looking into also. The odd thing is I’m not seeing any obvious issues on the first machine.

    <code>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
    C:\ProgramData\Oracle\Java\javapath;
    %SystemRoot%\system32;
    %SystemRoot%;
    %SystemRoot%\System32\Wbem;
    %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
    C:\Program Files (x86)\Common Files\LaserFiche\System;
    C:\Program Files\SunGard\bin
    
    .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC</code>
  • Buster
    Participant
    Post count: 19

    When using a variable in the parameters section you need to change the quote style like this -Parameters “/s /f1^”$dirFiles\desktop.iss^”” The ^ are actually the ` key left of the 1 key it formats it out on the post.

    • This reply was modified 2 years, 11 months ago by  Buster. Reason: Formatting
  • Buster
    Participant
    Post count: 19

    This script started off using 3.6.3 once I ran into this issue I created it again using 3.6.4 to see if the issue followed. So right now I am using 3.6.4. I did as you suggested and it looks like it is an msiexec issue

    I am trying to find one of the failing machines to see what I can figure out. Last night I remoted to one of the failed machines and when deploy-application.exe was ran locally it ran successfully.

    [Installation] :: Function failed, setting exit code to [60002].
    Error Record:
    ————-

    Message : The term ‘msiexec.exe’ is not recognized as the name of a cmdl
    et, function, script file, or operable program. Check the spel
    ling of the name, or if a path was included, verify that the p
    ath is correct and try again.
    InnerException :

    FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.
    GetCommandCommand

    PositionMessage :
    At C:\Windows\SysWOW64\CCM\Cache\CC1001EA.6.System\AppDeployT
    oolkit\AppDeployToolkitMain.ps1:2352 char:46
    + [string]$FullyQualifiedPath = Get-Command <
    <<< -Name $Path -CommandType ‘Application’ -TotalCount 1 -Sy
    ntax -ErrorAction ‘Stop’

  • Buster
    Participant
    Post count: 19

    I’ve only had this happen when something in the Deploy-Application.ps1 is not formatted correctly. Can you post your script?

  • Buster
    Participant
    Post count: 19

    You can save the file to eithere Files or SupportFiles. The variable for supportfiles is $dirSupportFiles The PSAppDeploymentToolkitAdminGuide.docx included is a great read about all of the available options. The AppDeployToolkitMain.ps1 in AppDeployToolkit contains all of the base variables.

  • Buster
    Participant
    Post count: 19
    in reply to: Execute-Process #924

    Took a screen shot since I cant get the formatting right

    Direct path to image:

  • Buster
    Participant
    Post count: 19
    in reply to: Execute-Process #920

    Hopefully this displays right, basically wrapping $dirFiles\silent.ini with the tick mark before the double quotes.

    Execute-process -Path “Setup.exe” -Parameters “-f "$dirFiles\silent.ini“”

    • This reply was modified 2 years, 4 months ago by  Buster.
    • This reply was modified 2 years, 4 months ago by  Buster.
    • This reply was modified 2 years, 4 months ago by  Buster.
  • Buster
    Participant
    Post count: 19

    Jeff,
    Also change the -Arguments to -Parameters

Viewing 15 posts - 1 through 15 (of 17 total)