Freeware version does not work out of the box - 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!

wildrumpus
Posts: 3
Joined: Fri May 04, 2012 2:09 pm

Freeware version does not work out of the box

Build machine = Windows 7 32-bit
  • Freeware version = 9.1
    Create simple project
    Resources > Files and Folders, add one file
    Home > Build
Test machine = Windows XP Virtual machine
  • User does not have admin privileges
    Run test.msi
Problem 1: User is prompted to install into C:\Program Files\Your Company\Your Application

This is a problem because the user does not have administrator privileges

Problem 2: Elsewhere in the forum, I saw we need to add the InstallTypeDlg dialog.

This is a problem because it is not offered in the Freeware version

So, how do I make your product work if the user does not have admin rights?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Freeware version does not work out of the box

Hello and welcome to Advanced Installer forums,
Problem 1: User is prompted to install into C:\Program Files\Your Company\Your Application.
So, how do I make your product work if the user does not have admin rights?
This is related to the Install Parameters -> Installation Type option you have selected. You can read more about the details of each option in Install Parameters Page user guide reference.
Problem 2: Elsewhere in the forum, I saw we need to add the InstallTypeDlg dialog.
Unfortunately, the InstallTypeDlg dialog is not available in a "Simple" project. If you need to show this dialog you'll have to purchase an Advanced Installer license.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wildrumpus
Posts: 3
Joined: Fri May 04, 2012 2:09 pm

Re: Freeware version does not work out of the box

Hello Mihai,

Thank you for your reply. I have already read your documentation, and it is unclear to me. That is why I am asking my questions on the forum.

Please answer my question: How do I make your product work if the user does not have admin rights?

As you can see, all I did was start your program, accepted all default settings, and added one file. It does not work for a non-admin. Please help me!

Thank you.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Freeware version does not work out of the box

Hi,

Please keep in mind that when you are installing without administrator rights you must use in the "Application Folder" field from "Install Parameters" page a disk location path that doesn't require administrator rights (i.e. [AppDataFolder][Manufacturer]\[ProductName]).

We strongly recommend you to use "InstallTypeDlg" dialog that will allow the user to choose where the application will be installed. In this way the "Application Folder" path will be set at install time accordingly with the application installation type. This dialog is available only in a Professional or above project type. You can purchase an Advanced Installer license from our Purchase page.

Regards,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wildrumpus
Posts: 3
Joined: Fri May 04, 2012 2:09 pm

Re: Freeware version does not work out of the box

So, the answer is that your freeware version does not work out of the box for both an admin and a non-admin.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Freeware version does not work out of the box

Hi,

Yes, I'm afraid the defaults don't work for the case of an user with no admin rights on XP. We'll try to provide better defaults in a future version. In the meantime, please try one of the next solutions in the Freeware edition:

My first solution from my previous post: you must use in the "Application Folder" field from "Install Parameters" page a disk location path that doesn't require administrator rights (i.e. [AppDataFolder][Manufacturer]\[ProductName]).

Another solution would be to set the "Installation Type" field from "Install Parameters" page to "Per-user only".

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”