Jump to content
Sign in to follow this  

@HomeDrive and msiexec

Recommended Posts

I tried searching for this and I couldn't find anything. Basically I'd like to use the @homedrive with a line that calls an msi.

I know the cmd works if I give it the exact path like so....

Run('msiexec.exe /i "C:\sample.msi"')

so instead of C:\ i'd like to use @HomeDrive. I've tried many variations with adding and yet none of them seem to work.

Currently I'm stuck at Run('msiexec.exe /i @HomeDrive&"\sample.msi"')

Any help would be great.


Edited by heathy

Share this post

Link to post
Share on other sites

try Run('msiexec /i "" & @HomeDrive&"\sample.msi"')


no go unfrotuantely. I did make sure that my path was ok by writing the rusulting path of @HomeDrive&"\sample.msi" to a text file and it appears fine.

It's acting like im just typing msiexec and nothing else. I get the msi options window.

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...