Extract an InstallAware MSI? (Admin Install point)

Got a problem you cannot solve? Try here.

Extract an InstallAware MSI? (Admin Install point)

Postby MarkF » Tue Apr 17, 2012 9:24 am

Hello, is there any command-line switch to extract an InstallAware made MSI, akin to the "msiexec /a" Administrative install point?

I wish to modify an application XML file prior to local installation from our file-server. We are not its developers.

However, I feel missing an important tool by being unable to modify installations. And as its true "inner" MSI chains to its Bootstrapper anyway, nothing is lost? I wrote a small Batch-file to extract our InstallAware made MSI, but a command-line switch would be better.

Code: Select all
@echo off
set SOURCE_MSI=\\PathToMsi\SomeMsi.msi
set MINI_DIR=mia*.tmp
set MINI_EXE={*.exe
cd /D %TEMP%
if exist %MINI_EXE% del %MINI_EXE%
for /F "usebackq delims=" %%V in (`DIR /AD/B %MINI_DIR%`) do rd /S/Q %%V
msiexec /i %SOURCE_MSI%
for %%V in (%MINI_EXE%) do set MINI_EXE=%%V
:WaitTask
for /F "usebackq tokens=10 delims=," %%V in (`TASKLIST /V /FO CSV /NH /FI "IMAGENAME eq %MINI_EXE%"`) do if errorlevel 1 (
goto WaitTask
) else (
set PROC1=%%V
)
:WaitNewTitle
for /F "usebackq tokens=10 delims=," %%V in (`TASKLIST /V /FO CSV /NH /FI "IMAGENAME eq %MINI_EXE%"`) do (
if %%V==%PROC1% goto WaitNewTitle
)
TASKKILL /F /T /FI "IMAGENAME eq %MINI_EXE%" >NUL
for /F "usebackq delims=" %%V in (`DIR /AD/B %MINI_DIR%`) do set MINI_DIR=%TEMP%\%%V
::
:: Environment Variable MINI_DIR has its Administrative Install Folder and MINI_EXE its compressed EXE
::
MarkF
 
Posts: 1
Joined: Tue Apr 17, 2012 8:48 am
Location: Hull, UK

Re: Extract an InstallAware MSI? (Admin Install point)

Postby FrancescoT » Tue Apr 17, 2012 9:37 am

Dear User,

Please have a look to the following topic:

http://www.installaware.com/forum/viewtopic.php?f=2&t=8472

Probably it helps you.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1836
Joined: Sun Aug 22, 2010 4:28 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 3 guests