Changing the default installation drive using ROOTDRIVE - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

pearls_of_joy
Posts: 2
Joined: Thu May 17, 2007 4:11 pm

Changing the default installation drive using ROOTDRIVE

Hi

I've scoured existing posts but none answer the problems I have.

I'm tring to automate some installations via Perl using the MSI automation interface. I need to automate installing on alternative drives (we have 4 partitions locally plus network). I've tried using the ROOTDRIVE property to set it to D:\ but the installation still diverts to C:\. The Installation is looking at the ROOTDRIVE property as if I set it to an invalid drive it complains that the drive is not available.

So, its not as simple as setting the ROOTDRIVE property I know that much. Question is, how can I force an installation to install to a different drive. I wil be altering the MSI database on the fly or I can use transform files or I could use the ROOTDRIVE=<drive letter> from the command line, either suits me.

Any help would be appreciated!! :)

Regards

Ant
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Ant,

The default installation folder can be changed in the "Install Parameters" page. You can type [WindowsVolume]install in the "Application Folder" and the package will be installed to "C:\install".

Also you can change the installation folder from command line like this:
msiexec /i package.msi APPDIR="C:\install" (APPDIR is the property used by AI to indicated the installation folder).

Hope this helps.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
pearls_of_joy
Posts: 2
Joined: Thu May 17, 2007 4:11 pm

Hi Gigi

I think I posted this request to the wrong group and I apologise for that.

Thanks for your response.

Ant

Return to “Common Problems”