Eusebiu wrote: ↑Thu Mar 05, 2020 4:08 pm
Are you sure that the listed files are present on the machine at the paths specified in the error log?
That's the problem. Actually, no! On the machine where I create installer, relative paths to the installer project file are different. And for some reason folder sync doesn't work and AI continues to look for files in a relative folder.
I'll try to clarify.
Project file has this synced folder entry:
Code: Select all
<COMPONENT cid="caphyon.advinst.msicomp.SynchronizedFolderComponent">
<ROW Directory_="Publish_Dir" SourcePath="..\BaccS_XAF.Web\bin\Release\Publish" Feature="MainFeature" ExcludePattern="*~|#*#|%*%|._|CVS|.cvsignore|SCCS|vssver.scc|mssccprj.scc|vssver2.scc|.svn|.DS_Store" ExcludeFlags="6"/>
<ROW Directory_="Release_Dir" SourcePath="..\..\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release" Feature="MainFeature" ExcludePattern="*~|#*#|%*%|._|CVS|.cvsignore|SCCS|vssver.scc|mssccprj.scc|vssver2.scc|.svn|.DS_Store" ExcludeFlags="6"/>
</COMPONENT>
Publish_Dir is one folder higher than project file. Release_Dir is two folders higher.
In the pipeline, I change source path of Release_Dir to concrete folder, in my case it is:
Code: Select all
C:\builds\219\s\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\
However, when AI gives an error, it says this:
Code: Select all
Registering Advanced Installer.
C:\builds\_tool\advinst\16.8.0\x86\bin\x86\AdvancedInstaller.com /RegisterCI ***
Prepending PATH environment variable with directory: C:\builds\_tool\advinst\16.8.0\x86\bin\x86
C:\builds\_tool\advinst\16.8.0\x86\bin\x86\AdvancedInstaller.com /execute "C:\builds\219\s\Advanced Installer\TBM Online.aip" C:\builds\_temp\84311.aic
SetPackageName "sdl_business_manager_online_5.2.5.0.exe" -buildname ""
SetOutputLocation -path "C:\builds\219\s\Advanced Installer\Setup Files\TBM Online 5.2.5.0\" -buildname ""
Build
Checking builds status
Resources referred by the project are missing:
C:\builds\219\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\EMSWrapper.dll
C:\builds\219\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\Sdl.Common.Licensing.Manager.dll
C:\builds\219\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\Sdl.Common.Licensing.Provider.Core.dll
C:\builds\219\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\Sdl.Common.Licensing.Provider.SafeNetRMS.dll
C:\builds\219\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\Sdl.Core.PluginFramework.PackageSupport.dll
C:\builds\219\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\Sdl.Core.PluginFramework.dll
C:\builds\219\BaccS_Team_Licensor\BaccS_Team_Licensor\bin\Release\SentinelLicensing.dll
etc...
So, instead of searching in provided folder, AI continues to search files in a relative folder initially specified in the project file. I made a conclusion that sync doesn't happen at all and AI continues to rely in files already listed (synced) in a project.
Does it make any sense?
FOLLOW US
Get the latest news in Application Packaging