Hi,
i want to create a MSI Package for my OCS Inventory Agent with AI Architect 13.4.
Until now i use a CMD with this content:
-----------------------------------------------------------------------------
setlocal
REM Set DeployServer to a network-accessible location containing the Office source files.
set DeployServer=\\servername\apps\OCS
IF %PROCESSOR_ARCHITECTURE%==x86 SET INSTALLDIR=%ProgramFiles%
IF %PROCESSOR_ARCHITECTURE%==AMD64 SET INSTALLDIR=%ProgramFiles(x86)%
IF EXIST "%INSTALLDIR%\OCS Inventory Agent\OCSInventory.exe" goto end else goto install
:install
call %DeployServer%\OCS-NG-Windows-Agent-Setup.exe /S /NOSPLASH /NO_SYSTRAY /NOW /SERVER=https://myserver.domain.tld/ocsinventory /SSL=1 /CA=%DeployServer%\server.crt /TAG=123456
:End
Endlocal
-----------------------------------------------------------------------------
I tried to create a MSI Package with this http://www.advancedinstaller.com/user-g ... o-msi.html but i can't get it to work.
I added the oca agent application and under additional files my server certificate file (server.crt). under full ui i copied this:
/S /NOSPLASH /NO_SYSTRAY /NOW /SERVER=https://myserver.domain.tld/ocsinventory /SSL=1 /CA=server.crt /TAG=123456
When i run my MSI it installs the OCS Inventory Agent but can't get the server certificate file right. OCS Logfile says something like the NTFS rights aren't correct. If i launch my CMD it works fine. Another task is the uninstall part. OCS uninstall CMD is the following:
%ProgramFiles (x86)%\OCS Inventory Agent\uninst.exe /s
How can i implement it in the MSI Package?
Sorry for my poor english.
thx
manuel
FOLLOW US
Get the latest news in Application Packaging