MSI runs on Win10, but reports an error on Win7 - Advanced Installer Community
bloo
Posts: 9
Joined: Tue Aug 20, 2019 10:23 am

MSI runs on Win10, but reports an error on Win7

Hello all,

we are building an MSI installer, and having a couple of issues. I am going to address one by one, cause this one is currently top priority.
It is combined out of two installations, each of them has its own service which should start by the end of the installation.

First of all, this installer should go through group policy, and it should cover a lot of various Windows operating systems (Windows 7 and newer, 32 & 64-bit).

We tested it on Windows 10, and Windows 7 for now - on win10 goes through installation normally, but the SAME build on win7 creates an error that it cannot start system service due to the lack of permissions/privileges for that action.
It is set to Run as administrator or user that has admin privileges, and all the important files have full control permissions by administrator.

Any advice?
Thank you in advance
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: MSI runs on Win10, but reports an error on Win7

Hello and welcome to Advanced Installer forums,

Since you have provided administrator privileges on both machines for the setup, it means that this is not the issue. Another thing that may be causing this is the fact that, on Win7 machine, some dependencies of your service are missing. For instance, if your service was developed in .NET, then the .NET Framework may be required on the machine in order to start the service.

If that is not the case, then please forward me, by e-mail at support at advancedinstaller dot com, the following:

- the .AIP file used to build the setup

- a download link for the setup build with the above .AIP file

so I can further investigate their settings.

Looking forward to hearing from you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bloo
Posts: 9
Joined: Tue Aug 20, 2019 10:23 am

Re: MSI runs on Win10, but reports an error on Win7

Thank you very much for your answer!
I have included .NET Framework 4.5 as a prerequisite, should that do the trick?
Although, when I select a prerequisite it automatically sets the build to exe, and I turn it back to MSI, but I'm assuming that shouldn't be the issue?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: MSI runs on Win10, but reports an error on Win7

Hello,
I have included .NET Framework 4.5 as a prerequisite, should that do the trick?
If .NET Framework 4.5 is a dependency of your service, then that should do the trick.
Although, when I select a prerequisite it automatically sets the build to exe, and I turn it back to MSI, but I'm assuming that shouldn't be the issue?
Indeed, that is the correct behavior. By default, .NET Framework is added as a pre-install prerequisite and pre-install prerequisites are handled by our EXE bootstrapper, meaning that you need your package to be of .EXE type. If you want to avoid this, you can change your prerequisite from pre-install to feature-based and then change your package type from EXE to MSI.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”