Dear Francesco,
Edit INI File command is NOT Working as expected.
Here are my commands
1. After Apply install, i have this command that uses Target directory,
~InstallAware Clipboard Data~
~Edit INI File~
~{7C5202F2-303C-4F3E-9D76-F9AA093F3800}~
~$TARGETDIR$~
~spw.ini~
~0~
~Application~
~Author~
~%WSE_USERNAME%~
2.For testing purpose, I have kept one .ini file on the desktop directory.
( .ini file will be there always )
~InstallAware Clipboard Data~
~Edit INI File~
~{7C5202F2-303C-4F3E-9D76-F9AA093F3800}~
~$DESKTOPDIR$~
~spw.ini~
~0~
~Application~
~Author~
~%WSE_USERNAME%~
3. I tried to use $SUPPORTDIR$, First Update the file in the Support directory &
then copy the file to Target directory. (Ofcourse, After successful Apply install )
still it does not work.
None of the above methods is working.
Any Idea ?
Regards
SITL
Edit ini file fails
Re: Edit ini file fails
Francesco,
Thanks for all your help.
I was trying different methods, Finally managed to get it working
I used Edit ini file using SUPPORTDIR at the beginning of the script &
Copied the file after Apply install.
But while coping, it is asking the question Do you want to overwrite ?
So, How do i specify overwrite yes in my script. So that asking question is avoided.
Sorry for the language mistakes.
Regards
SITL
Thanks for all your help.
I was trying different methods, Finally managed to get it working

I used Edit ini file using SUPPORTDIR at the beginning of the script &
Copied the file after Apply install.
But while coping, it is asking the question Do you want to overwrite ?
So, How do i specify overwrite yes in my script. So that asking question is avoided.
Sorry for the language mistakes.
Regards
SITL
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Edit ini file fails
Dear SITL,
you may set the "NATIVE_OVERWRITE" pre-defined variable.
https://www.installaware.com/forums/viewtopic.php?f=2&t=9712&p=36076
Please note that this is a NATIVE ENGINE pre-defined variable, due of this, it's supposed that the Native Engine has been switched ON after Apply Install and just before the "Copy/Move Local Files" statement.
For more details about this variable, please consult the IA documentation.
Hope this helps you.
Regards
you may set the "NATIVE_OVERWRITE" pre-defined variable.
https://www.installaware.com/forums/viewtopic.php?f=2&t=9712&p=36076
Please note that this is a NATIVE ENGINE pre-defined variable, due of this, it's supposed that the Native Engine has been switched ON after Apply Install and just before the "Copy/Move Local Files" statement.
For more details about this variable, please consult the IA documentation.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Edit ini file fails
Francesco, Thank you very much.
Who is online
Users browsing this forum: No registered users and 130 guests