Active setup command line.
Trying to copy a file to two target locations using active setup
here's the value i use in the registry under stubpath :
cmd /c md "%userprofile%\local settings\application data\faststone\fsc\" & md "%userprofile%\application data\faststone\fsc\" & COPY "c:\program files\faststone capture\fsc.db" "%userprofile%\local settings\application data\faststone\fsc\" & COPY "c:\program files\faststone capture\fsc.db" "%userprofile%\application data\faststone\fsc\"
command line wont execute in active setup, but works if i run it manually. Any idea why?
F.
Answers (2)
Another way:
Use the DuplicateFile table.
Im not going to reinvent the wheel, but look here (:
http://www.itninja.com/blog/view/a-general-approach-to-software-package-using-duplicatefiles
If you have a entry point great! Otherwise you will be stuck with active setup, not so great but ok.
Regarding your question: Ive never seen active setup used like that before with the stubpath key.