PDA

View Full Version : Activating / Using Windows Installer to run acessrt.msi


Harris
01-17-2003, 08:34 AM
If I could ask for some advice on a small problem (hopefully).
I need users to be able to install Access Runtime 2002/XP.
The setup file is called ACCESSRT.MSI which is activated and run by Windows Installer (called msiexec.exe).

I have tried to install using the pre-installed Windows Installer (msiexec.exe) present in the system directory, or by including the file on the CD with the other Access Runtime files, but cannot get the install to work.

Some ways I tried was

File to execute: %SysDir%\msiexec.exe
Command line parameters: "%SrcDrv%\Runtime\ACCESSRT.MSI"

File to execute: %SrcDrv%\Runtime\msiexec.exe
Command line parameters: "%SrcDrv%\Runtime\ACCESSRT.MSI"

File to execute: %SrcDrv%\Runtime\msiexec.exe
Command line parameters: /a "%SrcDrv%\Runtime\ACCESSRT.MSI"

Have anyone had this problem before?

If I use the Open Document command, it will activate, run and install correctly but while this is happening, on Factory Setup the next screen is displayed before the install is complete, something that you can prevent and control with the Execute command.

Thanks
Harris

Brett
01-17-2003, 11:42 AM
Try:

File to execute: %SysDir%\msiexec.exe
Command line parameters: /i "%SrcDrv%\Runtime\ACCESSRT.MSI"

Jason Pate
01-21-2003, 12:09 PM
I was having same problem, but I have one more issue I am using a TRANSFORMS file

excute
%SysDir%\MSIexec.exe

Command Line
/i "%SrcDrv%\art\Access 2k2 Runtime\Runtime\ACCESSRT.MSI"

works fine but when I add
TRANSFORMS=%SrcDir%\ART\REDOC1.MST reboot=force /qr+

to the Command Line
"%SrcDrv%\art\Access 2k2 Runtime\Runtime\ACCESSRT.MSI" TRANSFORMS=%SrcDir%\ART\REDOC1.MST reboot=force /qr+

It fails, is it possable to direct it to use the TRANSFORMS files or not?

Brett
01-21-2003, 05:08 PM
The problem is probably with spaces in your path names once they are expanded. Instead of:

TRANSFORMS=%SrcDir%\ART\REDOC1.MST reboot=force /qr+

try:

"TRANSFORMS=%SrcDir%\ART\REDOC1.MST reboot=force /qr+"

or

"TRANSFORMS=%SrcDir%\ART\REDOC1.MST" reboot=force /qr+

(depending on if that whole thing is one argument or seperate args)

Jason Pate
01-22-2003, 12:03 PM
For the longest time I though it was a path issue finally I put it all in the Root but still no luck. I could only get it to run at all when I first called msiexec.exe but transforms is not a valid command line option for msiexec.exe.

What I finally did was create a shortcut for acessrt.msi and put in the transforms=path\reodc1.mst command line and it works fine. but I am open to other ideas.