Adv. Installer always wants to install to C: - Advanced Installer Community
TheDeathRises
Posts: 4
Joined: Mon Nov 02, 2015 2:11 pm

Adv. Installer always wants to install to C:

So I downloaded a program that installs .cab archives using this installer. However, when I tell it to install to D:, it still wants to install to C: which is a bit of an issue because I can't clear enough space on C:. I already redirected the TEMP and TMP folders in the enviroment variables, so I don't think it's about unpacking. Author of the program couldn't help either.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Adv. Installer always wants to install to C:

Hello and welcome to Advanced Installer forums,

When launching an installation, Windows Installer calculates the space required by adding the size of the resources which will be installed with the size needed for rollback. Also, some space is required for the installation script and for the cached package. Additionally, the installation runs from a temporary copy of the package, therefore more space is required. Basically, an installation requires much more space than just the size of the files it creates.

By the way, is the package type an .EXE with resources inside? If Yes, please launch the .exe installation through command line and set the extract location to another path than C:\. Your command line should look like this:

Code: Select all

<path_to_msi> AI_EXE_EXTRACTION_FOLDER=D:\ExtractFolder
Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TheDeathRises
Posts: 4
Joined: Mon Nov 02, 2015 2:11 pm

Re: Adv. Installer always wants to install to C:

Unfortunately, it did not help. The resources are not inside the .exe but just in the same folder. Also, it can only be run through a bootstrapper, so I can't run the MSI through a command line.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Adv. Installer always wants to install to C:

Hi,

The approach I was talking about in my previous reply can be used only if the package type is an .EXE with resources inside. Since the package type is not an .EXE with resources inside, the .MSI will not be extracted during installation (it is already extracted next to the .EXE).

Maybe you can find a way to create additional space on the WindowsVolume drive.

If you have any questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TheDeathRises
Posts: 4
Joined: Mon Nov 02, 2015 2:11 pm

Re: Adv. Installer always wants to install to C:

I can't clear enough space. Why is it that the installer wants to install to C: even though it let me choose where to install and I picked D:? If this is a bug, you should fix it ASAP.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Adv. Installer always wants to install to C:

Hello,

As I said, when launching an installation, Windows Installer calculates the space required by adding the size of the resources which will be installed with the size needed for rollback. Also, some space is required for the installation script and for the cached package. Additionally, the installation runs from a temporary copy of the package, therefore more space is required. Basically, an installation requires much more space than just the size of the files it creates.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TheDeathRises
Posts: 4
Joined: Mon Nov 02, 2015 2:11 pm

Re: Adv. Installer always wants to install to C:

YOUR installer is telling me that there isn't enough space on C: and that I could select a different destination drive, which I did. I am not using Windows Installer at all.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Adv. Installer always wants to install to C:

Hello,

Advanced Installer is a Windows Installer authoring tool. It offers a friendly and easy to use Graphical User Interface for creating and maintaining installation packages (EXE, MSI, etc.) based on the Windows Installer technology.

Windows Installer is the Microsoft technology for deploying applications. It offers a format for packaging an application and an engine to unpack and install an application.

So, not Advanced Installer install your package, Advanced Installer was used to create the installation package (Advanced Installer is a tool). However, the installation is handled by the Windows Installer.

If you have any questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”