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

Security Issue with generated application

I am generating a setup with install shield limited edition (latest version) and visula studio 2013
and I seem to have a problem with the security of the generated setup and the applicationitself:
1. the setup will not execute (hangs) if Avast is running - if I stop Avast it runs properly
2. The installed application will not start (hangs) if Avast is running - if I stop Avast it will start but asks to run as administrator
How can I resolve this issue ?

P.S. I have othe applications generated with the same environment and same profile that do not show this odd behavior
I wonder (!!!) if the name of my application "WinBad" could be responsible for this strange behavior

Thanks for any help
Labels (1)
0 Kudos
(4) Replies
DLee65
Level 13

I do not know the details of your application but I would do the following to start with:
1. Always code sign your setup with a valid certificate from a known vendor, like Verisign.
2. Double check the manifest file for your application to see if it is requesting administrative rights.

Note: If your application attempts to modify HKLM, Program Files, services, etc.; then your app will require administrative rights. In this case you just need to modify your manifest file so that it requires administrator.
0 Kudos
pierrejean_pral
Level 3

DLee65 wrote:
I do not know the details of your application but I would do the following to start with:
1. Always code sign your setup with a valid certificate from a known vendor, like Verisign.
2. Double check the manifest file for your application to see if it is requesting administrative rights.

Note: If your application attempts to modify HKLM, Program Files, services, etc.; then your app will require administrative rights. In this case you just need to modify your manifest file so that it requires administrator.


My application is a very basic simple WinForms application that does not modify HKLM, Program FIles or services, or other
I have a manifest file (see below)
I have genereated a test Certificate
but no progress, if Avast is running the application does not start (it hangs and I have to restart my PC) if I stop Avast it starts but the "User controls" authorization request pops up

I have a couple of other similar applications that do not show this problem I have compared and find no differences in the parametesrs of thes applictions.





















0 Kudos
DLee65
Level 13

Your manifest file looks correct, so it should not be raising the UAC prompt unless your app is trying to do something that Windows and AVAST thinks is a security risk.

Is there any way to do remote debugging for your application and publish a debug version of your app with appropriate pdb files? I am not positive this will help or not but it is something to consider.

Another thing to try on this system is to install the app to somewhere else other than Program Files, such to a directory off of the system drive, C:\. Is the behavior any different?

Also, do you include any third party files that could be causing this problem?

At this time I do not see how this could be related to the installer itself, unless there is something I am missing from your description.
0 Kudos
pierrejean_pral
Level 3

DLee65 wrote:
Your manifest file looks correct, so it should not be raising the UAC prompt unless your app is trying to do something that Windows and AVAST thinks is a security risk.

Is there any way to do remote debugging for your application and publish a debug version of your app with appropriate pdb files? I am not positive this will help or not but it is something to consider.

Another thing to try on this system is to install the app to somewhere else other than Program Files, such to a directory off of the system drive, C:\. Is the behavior any different?

Also, do you include any third party files that could be causing this problem?

At this time I do not see how this could be related to the installer itself, unless there is something I am missing from your description.


After having "cleaned" my PC from all referrences to the application (files and registers), removed Avast and re-generated the application it seemes to install and work correctly. I will of course never know what the problem was.
Thanks anyway - the probleme was most probably linked to InstallShieeld
0 Kudos