Tooltip and modify - 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!

CarlAarnes
Posts: 58
Joined: Tue May 24, 2011 3:43 pm

Tooltip and modify

Hi

Is it possible to have a multiline tooltip for an edit box?
(never mind this part, seems the dll managed it on its own.)

I need to make modify(e.g. customizedlg) so path and feature can be selected, like a quick selection tree and just tick off and then set the path for every feature. Is this even possible without violating some windows installer rules?


/Carl
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Tooltip and modify

Hello Carl,

In order to achieve this you can delete the selection tree control within "CustomizeDlg" dialog and replace it with a quick selection tree control.

Let us know if this helped, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CarlAarnes
Posts: 58
Joined: Tue May 24, 2011 3:43 pm

Re: Tooltip and modify

Ya tx, thats a good start....

But id also like to be able to select a path for each feature from the customize dialog, so if i want a feature can be moved(installed into) C:\Application\ and another feature D:\Program\

Ive set the browse button and the text to visible. But it seems to set path for all features at once....


/Carl
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Tooltip and modify

Hello Carl,

This happens if all features have the same install location (e.g. APPDIR). You can check the "Directory" field from "Feature Properties" pane. However, in order to achieve what you want you should set (in the "Directory" field) a different directory for every feature. Also, you can take a look on our "Installing Multiple Applications Using Single Installer" thread which debates a similar issue.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CarlAarnes
Posts: 58
Joined: Tue May 24, 2011 3:43 pm

Re: Tooltip and modify

Hi again...

a few more questions...

When i change the path in customizedlg for the selected feature it updates the path, but it doesnt reinstall the files to the new path... How can I achieve this?

When uninstalling via customizedlg by unchecking files, there are some files left... What properties can i use to uninstall/delete these? (like (REMOVE="ALL" AND (NOT UPGRADINGPRODUCTCODE)) but for customizedlg. ??


Regards Carl
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Tooltip and modify

Hello Carl,
When i change the path in customizedlg for the selected feature it updates the path, but it doesnt reinstall the files to the new path... How can I achieve this?
Please keep in mind this is the normal behavior if the related files are added under a different directory than their feature directory. A resource file will be installed under its associated component directory. However, in order to achieve what you want you should add the related files under the same directory (in "Files and Folders" page) as their feature.
When uninstalling via customizedlg by unchecking files, there are some files left... What properties can i use to uninstall/delete these? (like (REMOVE="ALL" AND (NOT UPGRADINGPRODUCTCODE)) but for customizedlg. ??
In order to remove a file when running on modify mode you can use the following condition:

Code: Select all

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

Return to “Common Problems”