unable to remove a folder via search - 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!

ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

unable to remove a folder via search

Hello,

I use AI 7.1.3 enterprise.

I need to remove a thundebird extension when installing my application.
This is done by removing a folder.

For this I have to retreive the folder where Thundebird is installed:
1.
1st I need to retrieve the Thunderbird Version from the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Thunderbird\CurrentVersion
I have defined a search (raw value) for that with the name THCURVERS
2.
Then I can get the path from
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Thunderbird\[THCURVERS]\Main
into THFOLDER (in the search I have set the type to 'this value contains a path to a directroy)

3.
Then I have added in the files and folders sction the property based folder THFOLDER.
But this does not work. The Installation uses THFOLDER as folder and not its property. E.g. when I add a file to be installed in THFOLDER, the folder C:\THFOLDER is created.

How to get this work?

Thanks,
Chris
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: unable to remove a folder via search

Hi Chris,

This most likely means the search(es) failed. Make sure this did not happen.

If you still can not get this fixed, please send your. aip project file to support at advancedinstaller dot com so we can further investigate the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”