copy files using command line options - Advanced Installer Community
rahnajoseh
Posts: 18
Joined: Tue Dec 16, 2014 6:58 am

copy files using command line options

Hi,

How to copy files using command line options while installing.

thanks in advance
rahna
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: copy files using command line options

Hi rahna,

I'm not sure I fully understand your scenario. Can you please give us more details (maybe exemplify)?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rahnajoseh
Posts: 18
Joined: Tue Dec 16, 2014 6:58 am

Re: copy files using command line options

Hi Dan,

Thanks for the reply.

When we run our installer in citrix environment from elevated administrator account , we are not able to copy 2 files .

windows environment , its working fine.

So is there any way to copy the files to particular folders by command line options or by calling any batch file in custom action etc.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: copy files using command line options

Hi,

If you want to launch a .bat file, then you can use the predefined Launch File custom action.
For details, please check the How do I launch a CMD or BAT file? article with related information for hints and guidance.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rahnajoseh
Posts: 18
Joined: Tue Dec 16, 2014 6:58 am

Problem with running batch file after installation

Hi,

we are facing one issue while uninstalling our application.

During uninstall stage I have added one custom action to launch .bat file.

But i am getting one error while uninstalling. Screenshot attached.
Uninstall1.gif
Uninstall1.gif (7.51 KiB) Viewed 3940 times
Can you please give the resolution for this.

Regards

Rahna
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: copy files using command line options

Hello Rahna,

I'm not sure why you encountered the this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”