Why can't access temporary file on Launch attached file - Advanced Installer Community
qakmak
Posts: 21
Joined: Sun Dec 22, 2013 7:20 pm

Why can't access temporary file on Launch attached file

I need access the temporary file on the command line.(Custom Action ------ Launch attached file)

Then I try use &tmp.exe

But looks like the temporary file can't access on here.....
qakmak
Posts: 21
Joined: Sun Dec 22, 2013 7:20 pm

Re: Why can't access temporary file on Launch attached file

Or Is there any way can Launch attached file before access the .cab file when Install.
I mean some file not include in cab file. Then I can execute some command line application and file before the cab file access.


like [application.exe] command: -add [temp.exe]

these 2 file all need execute before access .cab file. So It can't be include on .cab file.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Why can't access temporary file on Launch attached file

Hello,
I need access the temporary file on the command line.(Custom Action ------ Launch attached file)
In order to add a file as a temporary file you can follow the Temporary Files Operations in the Files and Folders Page article for related information for hints and guidance. Please keep in mind that Temporary Files are copied during the CostFinalize standard action, at the beginning of the setup and removed during the InstallFinalize standard action.

Then, you can go in the Custom Actions page and add the Launch file predefined custom action to launch the related file. You can also take a look on our Custom action (auto launch) failing forum thread which debates a similar issue.

Please let us know if that helped, otherwise give us more details with your specific scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
qakmak
Posts: 21
Joined: Sun Dec 22, 2013 7:20 pm

Re: Why can't access temporary file on Launch attached file

Thank you very much.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Why can't access temporary file on Launch attached file

You're welcome,

I'm glad you got this working. If you have other questions, please let us know.

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

Return to “Common Problems”