Jump to content

Packaging script fails to install - (Moved)


Recommended Posts

hello everyone,

i am facing an issue , for KGS scan package installation, i am preparing a script using autoit , to run automated installation , among the steps i have to install sap_dotnet , th installer is .exe and this is the installation part in my script: 

";install SAP_DOTNET
    ProgressSet(60, "software installation in progress - step 6 of 8", "installing SAP_DOTNET")
    _FileWriteLog($LogFile_install_mqs, "step 6 of 8 - installing SAP_DOTNET")
    $result = RunWait('"' & $InstallDir & '\SapNCox86Setup.exe" /qn /Lie "' & $LogFile_install & '"')
    _FileWriteLog($LogFile_install_mqs, "Returncode: " & $result)
    If $result <> 0 And $result <> 3010 Then
        _FileWriteLog($LogFile_install_mqs, "SAP_DOTNET installation failed")
        DirRemove($InstallDir, 1)
        Exit ($result)
    EndIf "

 wheni launch the installation using a task from ivanti it shows that installation has been done, but nothing is installed, yet manual installation the same.

for previous version for sapdotnet, it works , the only diffrence is that the installer is msi.

Could you please help.

 

Thank you

Link to comment
Share on other sites

  • Developers

Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

hello everyone,

i am facing an issue , for KGS scan package installation, i am preparing a script using autoit , to run automated installation , among the steps i have to install sap_dotnet , th installer is .exe and this is the installation part in my script: 

";install SAP_DOTNET
    ProgressSet(60, "software installation in progress - step 6 of 8", "installing SAP_DOTNET")
    _FileWriteLog($LogFile_install_mqs, "step 6 of 8 - installing SAP_DOTNET")
    $result = RunWait('"' & $InstallDir & '\SapNCox86Setup.exe" /qn /Lie "' & $LogFile_install & '"')
    _FileWriteLog($LogFile_install_mqs, "Returncode: " & $result)
    If $result <> 0 And $result <> 3010 Then
        _FileWriteLog($LogFile_install_mqs, "SAP_DOTNET installation failed")
        DirRemove($InstallDir, 1)
        Exit ($result)
    EndIf "

 wheni launch the installation using a task from ivanti it shows that installation has been done, but nothing is installed, yet manual installation the same.

for previous version for sapdotnet, it works , the only diffrence is that the installer is msi.

Could you please help.

 

Thank you

Link to comment
Share on other sites

  • Developers

Why did you create another topic while I moved this to the correct forum? Please stick to this topic now!

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

This isn't AutoIt help but if the exe fails to install does the log file have any info in it? I see that you're looking for 0 and 3010 but what's the actual return code?

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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