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!

ozzy
Posts: 18
Joined: Mon Apr 23, 2007 6:56 pm

AddFolder Command line change with AI 5.0

With Advanced Installer 4.9 I used to create empty directories with the following command:

Code: Select all

AddFolder ProgramFilesFolder "C:\Program Files\novadigm\inscr"
With Advanced Installer 5.0 it adds not only that directory but also the content of those directories.

How can I do this with Advanced Installer 5.0?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The AddFolder command line was not modified with the 5.0 version of Advanced Installer. And this command line always add the folder and its content to the project.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
ozzy
Posts: 18
Joined: Mon Apr 23, 2007 6:56 pm

My only issue is that something changed. with 4.9.2 msi was less than one mb in size. with 5.0 msi was 500+ mb (half a gigabyte).

Then how do I publish a blank directory?

(what is the exact command... addfolder, addfile..etc?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If that directory is empty in Windows Explorer then a new blank empty directory will be created in the "Files and Folders" page.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”