I have been looking into using the command line to automatically create an installation package when a TFS build completes. I have managed to successfully get a package building but some of the options of the package/ project need setting. These were things like the Product Name, Company Name etc. I found the SetProperty command useful for solving this problem but now ive hit a problem with the folder options.
I am adding a single folder to the project in the command line using the following code
…advinst.exe" /Edit "C:\AdvancedInstaller\MyProject.aip" /AddFolder APPDIR %1
The %1 is a parameter that I am passing in from Visual Studio which is the directory of the folder I want to add (Drop location from TFS build).
This again is working but the problem I am having is that when installing this folder is being added to the install path. Ie ProgramFiles/MyCompany/MyProduct/FolderName
I have seen that in the UI there is a check box option in Folder Options to
Install Content into Parent Directory
Does anyone know how to access this property in the command line?
Thanks
FOLLOW US
Get the latest news in Application Packaging