installer package
-
Hi all, i made an installer package (.msi file) for my C# windows application. But, whenever i try to install it on the other systems, it is saying "application failed to initialize properly"... After searching, i found that it works only on the machines where .net framework was installed.. Is it possible to include .net framework in my package & give it that to my client?? Any solutions plz............. Thanks in Advance. :)
-
Hi all, i made an installer package (.msi file) for my C# windows application. But, whenever i try to install it on the other systems, it is saying "application failed to initialize properly"... After searching, i found that it works only on the machines where .net framework was installed.. Is it possible to include .net framework in my package & give it that to my client?? Any solutions plz............. Thanks in Advance. :)
-
How did you make the installer package? If it's via visual studio then right click the stup project and select 'properties'. Form there you have 'prerequisites' in there you can select what your setup depends on.
-
Hi, thanks for the reply. yup, problem solved.. :-D and, how can i create desktop shortcut?? coz i didn't find any "create shortcut" option ..... :confused:
just create a .lnk of the file you want to make the shortcut for and while installing, copy it to either the current user's desktop folder/start menu or to All users' desktop folder/start menu folder.
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
-
just create a .lnk of the file you want to make the shortcut for and while installing, copy it to either the current user's desktop folder/start menu or to All users' desktop folder/start menu folder.
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
-
Hi, thanks for the reply. yup, problem solved.. :-D and, how can i create desktop shortcut?? coz i didn't find any "create shortcut" option ..... :confused:
Under the "File System" view you should have various folders representing the file structure of your target machine. i.e. Application Folder User's Desktop User's Programs Menu If you wished to put a shortcut on the desktop you would select 'User's Desktop', then right click the details panel (which has Name|Type at the top) and select create shortcut. You can then select the included file you want to shortcut too. For anything outside of what your installing you'll need to make a shortcut as you normally would in windows and then include the file using Right Click then Add File.
-
Under the "File System" view you should have various folders representing the file structure of your target machine. i.e. Application Folder User's Desktop User's Programs Menu If you wished to put a shortcut on the desktop you would select 'User's Desktop', then right click the details panel (which has Name|Type at the top) and select create shortcut. You can then select the included file you want to shortcut too. For anything outside of what your installing you'll need to make a shortcut as you normally would in windows and then include the file using Right Click then Add File.
-
Shortcut file:~ and store it as a file in the installation package, "That's what i usually do for installation"
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
-
Shortcut file:~ and store it as a file in the installation package, "That's what i usually do for installation"
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
-
I'm not sure how your application looks like but if you are intending to copy the shortcut file from the solution "not using an external DOS batch file" then add a reference of visual basic library to your code and use something like this code:
Microsoft.VisualBasic.FileSystem.FileCopy("YourShortcut.lnk",System.Environment.SpecialFolder.DesktopDirectory+"\\YourShortcut.lnk");
also take a look at your C:\Documents and Settings\All Users\Desktop folder and if you want to use this one, try something tricky like getting the drive letter on which windows is installed and concatenating it with the destination path
string strWindowsRoot = System.Environment.GetFolderPath(System.Environment.SpecialFolder.System).ToString().Substring(0, 3);
I hope you get over it:)..
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)