cancel
Showing results for 
Search instead for 
Did you mean: 
happyc
Pilgrim

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
Pilgrim

Re: How to redefine INSTALLDIR?

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

Re: How to redefine INSTALLDIR?

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

Re: How to redefine INSTALLDIR?

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