VMware Communities > VMTN > Enterprise Desktop Products > VMware ThinApp™ > VMware ThinApp: Discussion Forum > Discussions

This Question is Answered

2 "helpful" answers available (6 pts)
3 Replies Last post: Jun 1, 2009 7:58 AM by dpeterson
Reply

launch MS access with runtime options

May 29, 2009 5:30 AM

Click to view dpeterson's profile Novice dpeterson 7 posts since
May 25, 2006

I am trying to virtualize a few older access applications we run. These applications are complied into MDEs but use the Access 97 runtime that gets installed with the application. I tried to thinapp one of these applications and it picks up the access executable but not the MDE file. How can I pass an option to access.exe to open the MDE file? From a command prompt I can just specify the name of the mde file after the access executable. I tried editing the package.ini file and added the name of the mde file after access.exe on the source line, then I built the package. That did not work. Has anyone else done something like this?

Thanks

Reply Re: launch MS access with runtime options May 29, 2009 8:33 AM
Click to view dpeterson's profile Novice dpeterson 7 posts since
May 25, 2006
I kinda solved my own question. After installing the application I created a bat file that called msaccess.exe and the mde file. Then I generated the build on the bat file; I didn't think it would have picked up the bat file as a "real" executable but it does. The build works as it should.
Reply Re: launch MS access with runtime options May 31, 2009 2:03 PM
in response to: dpeterson
Click to view Thinstall2's profile Enthusiast Thinstall2 40 posts since
Jul 29, 2008
Simple
You just add an
CommandLine="path/to/msaccess.exe "path/to/mde/or/mdb"
below your Source-line.
be careful with the quotationmarks though :-)
Reply Re: launch MS access with runtime options Jun 1, 2009 7:58 AM
in response to: Thinstall2
Click to view dpeterson's profile Novice dpeterson 7 posts since
May 25, 2006
great, I will give that a shot. Thanks
Actions