Page 1 of 1
Function Install file
Posted: Tue Feb 08, 2011 1:04 pm
by Marko
Hi
I'm having trouble with installing file to users computer.
Source file is on my network (I:\Installer\test_ver.sql) and destination directory is c:\Installer (in variable $MAP$).
After Install command there is also a 'Apply Install' line.
Trouble is, that this line is not working always.
I tried also with path I:\\Installer\\test_ver.sql. Without success.
And the most strange thing is, variable SUCCESS returns COMPLETE.
Go figure.
Please, help.
Regards Marko
Re: Function Install file
Posted: Wed Feb 09, 2011 10:01 am
by giaviv
Dear Marko,
What is this I drive? Do you have permissions to access it (and does InstallAware)? Does Move Local File work instead? Are you sure that the paths are valid? Let me know.
Re: Function Install file
Posted: Thu Feb 10, 2011 8:22 am
by Marko
Hi Giaviv
Drive I is mapped drive pointing to local server. I have full rights on this drive, so does InstallAware.
I tried with network and local file without success. Or better to say, first it was successful and then stopped to work.
I'm currently using evalation version. Could be this the reason foe such a funny behavior.
Code is (with local drive):
~InstallAware Clipboard Data~
~End~
~{E4BA9FA9-140A-45E8-8CBE-E37121F8DD86}~
~End~
~{C048BBBA-1B1A-4B53-8F29-B258516E6F9F}~
~Terminate Install~
~{DC5F0EDE-EA1A-455A-AFDE-5B800BAB9111}~
~MessageBox~
~{CA2F17A7-C328-48FC-8D6C-B2970F78643D}~
~TEST~
~ERROR MESSAGE~
~0~
~1~
~~
~If~
~{40C6B816-4E72-4AA7-9F87-37DAC69DDF3E}~
~SUCCESS~
~0~
~TRUE~
~TRUE~
~Does File/Folder Exist~
~{FC77281F-C443-41AD-AB7C-826B3C50DE0E}~
~SUCCESS~
~$MAPA_WISE$\test_ver.sql~
~TRUE~
~Apply Changes~
~{48708D66-500B-4949-83C8-EAF97BF7E555}~
~~
~SUCCESS~
~TRUE~
~FALSE~
~Install Files~
~{201E37E9-D77E-460E-9DC6-8C31BAE6C14E}~
~C:\\TEMP\\test_ver.sql~
~FALSE|~
~$MAPA_WISE$~
~FALSE~
~FALSE~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~If~
~{FB22BB4C-7F0E-4FB9-88DC-438700833FC7}~
~SUCCESS~
~0~
~TRUE~
~TRUE~
~Does File/Folder Exist~
~{F3EC00E6-9BF2-4BAF-BAEE-A3DE5FABD1D8}~
~SUCCESS~
~$MAPA_WISE$\test_ver.sql~
~TRUE~
~Apply Changes~
~{10A69367-F287-4B22-8412-EA2F725E99BD}~
~~
~SUCCESS~
~TRUE~
~FALSE~
~Install Files~
~{A27890CB-3DA0-494C-A171-75400FF45072}~
~C:\TEMP\TEST_VER.sql~
~FALSE|~
~$MAPA_WISE$\~
~FALSE~
~FALSE~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~Delete Files Recursive~
~{583834C9-84EC-42B2-A49E-AD99A0AA0DFB}~
~$MAPA_WISE$\*.*~
~Set Variable~
~{FC85FD34-A8FB-4C58-B226-AB53BF8178EF}~
~MAPA_WISE$MYAH$MYAH$FALSE~
~C:\PRONET\WISE~
Regards
Marko
Re: Function Install file
Posted: Thu Feb 10, 2011 4:40 pm
by giaviv
Dear Marko,
Could you send your actual project to support at installaware.com? I am having some troubles pasting your script here.
Re: Function Install file
Posted: Wed Feb 23, 2011 1:18 am
by Marko
Hi Aviv
I solved the problem by enabling native engine (Set Variable NATIVE_ENGINE to TRUE).
Now installing and local copying work as a charm.
Regards
Marko
Re: Function Install file
Posted: Wed Feb 23, 2011 4:15 am
by giaviv
Dear Marko,
Great!