Windows 7 - Setup is not creating files in the specified folder

Asked By siddu Praneeth on 01-Feb-12 11:09 AM

When I install my VB.NET setup file it is suppose to install the path C:\Programme Files\Application

but it is copying in the C: drive. Due to this application throwing below exception. This is happening with the Win7 system. No issue found with the same setup in XP machine.

Request you please tell me how to fix this issue.


Execption :

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

dipa ahuja replied to siddu Praneeth on 01-Feb-12 11:17 AM
The error is not in the setup file , but in your code.

Make sure you all forms are running without error , then re-build the project and again create the setup file using the following steps:

To create a setup file follow this ► Create new setup project.  You will find 3 folders:
 
1.Application Folder
2.User's desktop
3.User's program menu
 
► Add the exe, database, images, dll files of you project in the "Application Folder"
 
► Add the exe file in the "User's Desktop" and "User's program Menu" folder if you want a exe 's short cut in the desktop and in start menu
 
Now all files are added now build the project, and you will get the exe setup file of your in the bin directory of your setup project
 
 
 
siddu Praneeth replied to dipa ahuja on 01-Feb-12 11:36 AM
But the same setup is working in XP machine. Below are the files are not copying inside C:\Programme Files\Application

a.) sqlnet (file)

b.) config(file)

c.) Application Launcher(file)

d.) Icons(Folder)

e.) Programs(Folder)

Can anything be done it in settings related to security?