TARGETDIR is empty after a patch is applied

Got a problem you cannot solve? Try here.
Ryan Lee
Posts: 26
Joined: Fri Jun 29, 2007 7:11 pm

TARGETDIR is empty after a patch is applied

Postby Ryan Lee » Fri Jul 13, 2007 1:08 pm

I have an application that installs some files and then runs an executable to generate a configuration file based on some parameters collected during installation. The executable is located at $TARGETDIR$\\MyExe.exe

When uninstalling, the same executable is run to remove these configuration files and then the uninstall is applied

If I install and then uninstall everything works fine

If I install, patch and the uninstall the cleanup executable fails to run because the value of $TARGETDIR$ is empty. The files and shortcuts that were installed get removed fine however.

Ryan Lee
Posts: 26
Joined: Fri Jun 29, 2007 7:11 pm

Postby Ryan Lee » Fri Jul 13, 2007 1:59 pm

never mind, figured it out.

I was manipulating target dir in a way that the compiler didn't like. I changed it back to what the template project expects and everything works fine.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 88 guests