cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jgkenned
Level 4

Searching for unused properties

I am working with an Installshield project that was created on version 12 by another developer. I converted the project to the 2012 Spring version. In the property manager view I have a bunch of properties that look like the following:
NewProperty1
NewProperty10
NewProperty11
NewProperty12
NewProperty13
....
How can I confirm that these properties are unused? I want to cleanup the project.
thanks
Labels (1)
0 Kudos
(5) Replies
Roman1
Level 9

Hi,

just start your setup with logging.
In logfile after setup ends, you can see all properties with values.
0 Kudos
jgkenned
Level 4

I did this and you are correct. Here's a snippet:

Property(C): NewProperty4 = 0
Property(C): NewProperty1 = 0
Property(C): NewProperty2 = 0
Property(C): NewProperty3 = 0
Property(C): NewProperty5 = 0
Property(C): NewProperty51 = 0
Property(C): NewProperty11 = 0
Property(C): NewProperty21 = 0
Property(C): NewProperty31 = 0
Property(C): NewProperty7 = 0
Property(C): NewProperty8 = 0
Property(C): NewProperty9 = 0
Property(C): NewProperty52 = 0
Property(C): NewProperty10 = 0
Property(C): NewProperty511 = 0
Property(C): NewProperty12 = 0
Property(C): ALLUSERS = 1
Property(C): AF_USERSETTINGSALERTNOCASE = true
Property(C): AF_USERSETTINGSALERTONECASE = false
Property(C): ARPNOMODIFY = 1
Property(C): AF_PROXYSERVERAUTOCONFIG = true
Property(C): AF_PROXYSERVERAUTH = NONE
Property(C): AF_PROXYSERVERAUTHMETHOD = NTLM
Property(C): NewProperty14 = 0
Property(C): NewProperty13 = 0
Property(C): AF_Dummy1 = 0
Property(C): NewProperty16 = 0
Property(C): NewProperty22 = 0
Property(C): NewProperty19 = 0
Property(C): NewProperty17 = 0
Property(C): NewProperty18 = 0
Property(C): NewProperty20 = 0
Property(C): NewProperty23 = 0
Property(C): AF_ProxyServerAutoConfig_UI = 1
Property(C): NewProperty24 = 0
Property(C): NewProperty25 = 0
Property(C): NewProperty26 = 0
Property(C): NewProperty27 = 0
Property(C): NewProperty28 = 0
Property(C): NewProperty29 = 0

The same properties I see in the project show up in the log too, but I'm not sure this tells me if they are used within the project somehow. This almost look like someone clicked the 'new' button a bunch of times.

Is there another way to do a usage search for a property? Would saving the project as XML enable me to search the text in a meaningful way?

thanks for any help
0 Kudos
Roman1
Level 9

If you go to "Behavior and Logic"\"Property Manager"

you see right all of properties listed. These are all of them, which were created/set by you at creation time.
Be carefull not to delete anyone!
Some of them could be UI - Properties (NewPropertyXY) .
0 Kudos
Magnus
Level 6

Can't you just search in the "Additional Tools"/Direct Editor?
0 Kudos
Roman1
Level 9

I am asking a question, whatfor are you searching for unusing properties?
0 Kudos