Page 1 of 1

Modify/Repair Problems

Posted: Fri Dec 02, 2005 10:27 am
by HelloWorld
Hi,

i am using the public beta right now and have a little problem with this version or all versions.

Code: Select all

~InstallAWARE Clipboard Data~
~End~
~{20581C27-C9E5-4C57-9AE7-15423C5B56B1}~
~Compiler Variable End~
~{E4F6EA82-B5C9-421B-A9A0-4CE95C1AD63F}~
~Comment~
~{1C1C7316-D01E-42A4-95D8-CCB87DB0E9E7}~
~First Time Install~
~Set Variable~
~{9F667340-3F2E-4062-8163-1195428D1DF6}~
~STARTMENU~
~~
~Set Variable~
~{00B4BD5D-9731-4166-B93D-D060509E2C05}~
~TARGETDIR~
~$PROGRAMFILES$\\My Company\\My Program~
~Compiler Variable If~
~{D7CD77F3-F37C-4B3C-8AA1-BFFC00553360}~
~BUILDMODE~
~0~
~PATCH~
~TRUE~
~Else~
~{3EE3280B-D5CD-4DAE-99DE-5EEA3F2BE968}~
~GoTo Label~
~{48E80339-1D64-48BD-8A59-455360DAA800}~
~Maintenance~
~If~
~{2704941E-EEC6-41E6-BE08-4CE11AA21AD8}~
~MAINTENANCE~
~0~
~TRUE~
~FALSE~


This works fine, everything is installed in the correct directory. But when I do a repair/modify, there are several errors:
There is a new directory: Program Files\\My Program
The shortcut in the startmenu is pointing to Program Files\\My Program\\program.exe

--------
When I deselect some items upon install, but when I do a modify all features are selected. What do I do wrong?

Posted: Fri Dec 02, 2005 10:57 am
by sinan
First, if you did any work (or builds) with the non-public beta, uninstall all of them. The non-public beta had an issue which might be causing this problem.

Next, rebuild the base product (and any patches) in the public beta version, and try again.

Finally, if you still have problems, please provide an exact step-by-step sequence of reproducing them, including UI choices made in the installer such as TARGETDIR, Start Menu, etc...

Posted: Mon Dec 05, 2005 12:38 pm
by HelloWorld
Hi sinan,

i sent you an email with attachment (9 mb), please let me know if you received it.

Posted: Mon Dec 05, 2005 7:58 pm
by sinan
I took a look at your project. It might be happening because you are using an unqualified TARGETDIR path, and an empty STARTMENU value when initializing the variables. Try to use a fully qualified TARGETDIR and a properly initialized STARTMENU variable and see what happens that way (template projects already do this for you).