How to obtain old product path - Page 2 - 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!

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

Re: How to obtain old product path

Hello Sony,

I have tested this command line outside the installer and it only works without the /l attribute.

Have you tested the same command line in the "cmd.exe" shell and when running the upgraded package to get a positive result like you previously posted ?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: How to obtain old product path

Hi Mihai,

From the Commandline.exe , the following command is working:

xcopy.exe "[RESULT_PROPERTY]" "D:\Test\" /s /e /y /q /I. The attribute is /I not /l. The command is not working during the patch installation. Could you please try it a sample and let me know the updates.

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

Re: How to obtain old product path

Hi Sony,

This is very misleading. In the documentation there is no reference to the /I attribute. There is only a reference to /i which states:
If Source is a directory or contains wildcards and Destination does not exist, xcopy assumes Destination specifies a directory name and creates a new directory. Then, xcopy copies all specified files into the new directory. By default, xcopy prompts you to specify whether Destination is a file or a directory.
Since the attributes work uppercased as well, it works using /I but the misleading part was that all other attributes in your command line were lowercased.

Can you please send us the .AIP( target, upgraded and patch ) and a verbose log of the upgrade to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: How to obtain old product path

HI Mihai,

I have sent the sample project upport at advancedinstaller dot com, but I havent recieved any updates till now?

Could you please look in to this issue?Waiting for your suggestions..

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

Re: How to obtain old product path

Hi Sony,

Yesterday was a national holiday here and we didn't have the chance to investigate your issue. We will get back to you as soon as we have a solution.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: How to obtain old product path

Mihai,

Its an urgent requirement for our application. kindly let me know ur suggestions at the earliest.

Thanks
Sony
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to obtain old product path

Hi Sony,

Can you please also send us the target package's backup .AIP?

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

Return to “Common Problems”