Alright then I now actually get an installer which I can click on, and
cpack doesn't give any more errors.
However, when I try to run the executable I get a
"executable..exe The specified path does not exist.."
which is quite a weird error, because it's the same path that I'm
clicking, and it
On 02/21/2012 06:25 PM, Eric Noulard wrote:
2012/2/21 Andrea Crotti:
I'm trying to finally create an installer for my project, with CPack and
NSIS.
The project is really really simple, I just need to copy over a directory
somewhere.
And I did something like:
get_filename_component(userprofile
2012/2/21 Andrea Crotti :
> I'm trying to finally create an installer for my project, with CPack and
> NSIS.
>
> The project is really really simple, I just need to copy over a directory
> somewhere.
> And I did something like:
>
> get_filename_component(userprofile $ENV{USERPROFILE} REALPATH)
>
>
Use:
DESTINATION ${PROJECT_NAME}
instead of the full path you're trying to use.
If you use a full path in a CMake install rule, then CPack does not put it
inside the directory that NSIS packs up to build the installer... If you
use a non-full path, then for "make install" it gets put under
CMA
I'm trying to finally create an installer for my project, with CPack and
NSIS.
The project is really really simple, I just need to copy over a
directory somewhere.
And I did something like:
get_filename_component(userprofile $ENV{USERPROFILE} REALPATH)
install(
DIRECTORY ${EGG_BUILD_DIRECT