cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
happyc
Level 3

How to redefine INSTALLDIR?

Hi,

I currently have INSTALLDIR set to: \Program Files\ABCD. How to redefine my INSTALLDIR and set it to \Program Files? All installed files will stay in the same locations. All I want is to have INSTALLDIR set to different location.

Thanks!
Labels (1)
0 Kudos
(3) Replies
happyc
Level 3

I updated INSTALLDIR in the "Directory" table in "Direct Editor". It seems to be a good solution.
0 Kudos
enanrum
Level 9

Directory Table! Be careful in there. Why couldn't you have just changed it in the "General Resources" -> INSTALLDIR?
0 Kudos
Christopher_Pai
Level 16

Redefine at build time or install time?

For build time, take a look at the automation interface. The IswiProject object has an INSTALLDIR property that does very good job of reauthoring the Directory table for you. I'd rather this be a ProductConfiguration setting but it's not.

For Installtime, take a look at Type 51 and Type 35 custom actions scheduled before or after costing respectively.
0 Kudos