Installer problem on win 7 64-bit - 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!

vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Installer problem on win 7 64-bit

Hi,

I am using AI 6.4.1 enterprise. I have built an MSI using the attached AIP project. It always worked fine, but, on win 7 (64-bit) while copying Tomcat setup, some of Tomcat folders do not get copied.

for example, C:\Program Files\MYCOMPANY\Tomcat\webapps\ROOT, C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\examples\WEB-INF etc.

I am getting following message:

MSI (s) (80:54) [18:02:15:161]: Executing op: ComponentRegister(ComponentId={312876C4-EFFC-444A-8DCC-5599796F1B34},KeyPath=C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\examples\WEB-INF\classes\CookieExample.class,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {A31BBE15-FE78-4BEC-B5AE-497EF37D14C2} 2: {312876C4-EFFC-444A-8DCC-5599796F1B34} 3: C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\examples\WEB-INF\classes\CookieExample.class
MSI (s) (80:54) [18:02:15:161]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\examples\WEB-INF\classes\CookieExample.class' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).

Also, using 32-bit custom action.dll. This whole setup is working fine on all the machines including 32/64 bit for a different product.

Kindly comment.

Regards,
Vicky
Attachments
MYSetup.aip
AIP Project
(179.87 KiB) Downloaded 373 times
MSILOG.txt
Log generted by MSI
(705.49 KiB) Downloaded 349 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installer problem on win 7 64-bit

Hi Vicky,

Does this behavior manifest on all Windows 7 x64 machines or is it just the one? We recommend you try installing the package on a clean machine.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Re: Installer problem on win 7 64-bit

Dear Mihai,

Thanks for your reply.
I did try it on clean WIn 7(64-bit) and behavior is same, explaining the behavior in detail below.

From the log attached in my first post, going to discuss following lines.

Tomcat installation location is in D: drive, whereas, some files/folders get created in C: drive.
From Line A, file aspectwesver.jar is copying in D:, whereas, in Line B, file DebugValidator.class destination path has got changed to C:.

Tomcat installation location: D:\Program Files (x86)\MYCOMPANY\Tomcat

Line A:
MSI (s) (80:54) [18:02:15:141]: Executing op: ComponentRegister(ComponentId={B4B19088-867E-4794-A2BD-73AF24470BF4},KeyPath=D:\Program Files (x86)\MYCOMPANY\MYPRODUCT\skeleton3\lib\aspectjweaver.jar,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {A31BBE15-FE78-4BEC-B5AE-497EF37D14C2} 2: {B4B19088-867E-4794-A2BD-73AF24470BF4} 3: D:\Program Files (x86)\MYCOMPANY\MYPRODUCT\skeleton3\lib\aspectjweaver.jar

Line B:
MSI (s) (80:54) [18:02:15:141]: Executing op: ComponentRegister(ComponentId={0E106E7A-D238-4E55-8517-C8FD7B2D14D8},KeyPath=C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\examples\WEB-INF\classes\validators\DebugValidator.class,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {A31BBE15-FE78-4BEC-B5AE-497EF37D14C2} 2: {0E106E7A-D238-4E55-8517-C8FD7B2D14D8} 3: C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\examples\WEB-INF\classes\validators\DebugValidator.class
MSI (s) (80:54) [18:02:15:141]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\examples\WEB-INF\classes\validators\DebugValidator.class' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).

Line C:
MSI (s) (80:54) [18:02:15:171]: Executing op: ComponentRegister(ComponentId={A64052DF-B12E-424B-BD03-46481F5C5FBD},KeyPath=C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\ROOT\asf-logo-wide.gif,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {A31BBE15-FE78-4BEC-B5AE-497EF37D14C2} 2: {A64052DF-B12E-424B-BD03-46481F5C5FBD} 3: C:\Program Files (x86)\MYCOMPANY\Tomcat\webapps\ROOT\asf-logo-wide.gif


Could you please help me to sort out this problem? Because, after copying some folders in D: and others in C:, Tomcat is unable to work, as it requires ROOT folder in its installation location i.e. D:, whereas, ROOT folder get created in C: (Please refer Line C).

Regards,
Vicky
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installer problem on win 7 64-bit

Hi Vicky,

We noticed a custom action which sets APPDIR to [APPDIR] after CostFinalize standard action. Please remove this custom action as it makes no sense. Also, why are you setting the installation path to D: when the default is ProgramFiles?

The behavior you are getting is most probably related to APPDIR uncalled for settings.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”