Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Some important Qs about msi file and windows installer (Urgent)
 

Some important Qs about msi file and windows installer (Urgent)

Dear all,

i have a few Qs about msi file and hope that anybody could help me..

i'm using Visual studio 2005 - C#

1) in the application folder i put a primary output file and application license and help.chm

and also in the desktop folder i put a shortcut for the application. when i install the application then try to run the shortcut a windows appears(and it always does) say "prepar to install" i want to remove this windows where there is nothing needs to be done before running the application all pre-requisits are done while installation, so why this window always appears whenever i run the shortcut, and how can i rmeove this action ??

2) when i try to uninstall the application from the control panel, the application folder which has been created by the msi on c:\\programFiles\manifacturare\myApplicationName this folder still there although the uninstall process should remove it and also i set all files (which in the application folder or desktop folder , which you can find them from Files System ) "Permenant" property to true (Permenant means that this file will be removed when the application is uninstalled) so they are still there.

3) the install wizared can i change the order of the buttons ? when open User Interface Editor you can see alot of dialogs these dialogs have butons can i change there texts and order.

4) when you add a folder to the program menu like "myApplication" which will contains your application exe, chm (probably) and Uninstall . Now how could i create this Uninstall is something i can do on Visaul Studio ?!? is it an exe file?!? and how can i add it to the program menu folder?!?

5) when i click on msi fileto start installation it checks for the pre-requisites if not found then it asks me to press ok to go to the required site and exit the installation what is i want to keep my installation process on and when the user finishs installing the pre-requisites he can continue installing myApplication (and for more advanced installation i want my application continues automaticaly its process even if the pre-requisites asks the user to restart his pc like many applications do )

Please if any one has any answer of these Qs please answer me .. i need your help..

thnx in advance.

Eng.Basma  Tuesday, January 27, 2009 3:53 PM

Hi Eng.Basma,

1). Please focus on your previous thread, do not repost duplicate question so frequently. I will follow your question on that thread.
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/72c6dd46-0eaf-49d5-84ff-12bd35d7bd12/

2). You should set the "Permanent" to False so the application files can be removed after uninstall.

3). You can change text of the label of each TextBox in its property window. You can not modify their location in Visual Studio.

4). Take this thread for your reference.
http://www.gamedev.net/community/forums/topic.asp?topic_id=461575

5). Right click your Setup project and click the "Prerequisites" button on the popup Window. Select "Download prerequisites from the same location as my application". Then build your setup project again.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, January 29, 2009 3:29 AM

Hi Eng.Basma

3). You cannot access these forms in Visual Studio. The controls on these dialog is designed by system. You can set the label of each control in the property window(not the way you design a winform), please look at this example.
http://www.c-sharpcorner.com/UploadFile/ddoedens/CustomUI11102005042556AM/CustomUI.aspx

5). If you don't want to deploy prerequisite along with your MSI package, you can try to upload the prerequisite to one of your local server. Then use "Download prerequisites from the following location" to point to prerequisite URL which stored on your server. If a customer install your application in the same local area network, it will be faster to download the prerequisite from your server than from Microsoft web site.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, January 30, 2009 2:07 AM
#1 is a repair and typically happens if you do something like remove files that you've installed. The same is true of registry entries, so if you're removed any of these things after the install then you'll see a repair.
Phil Wilson
PhilWilson  Saturday, January 31, 2009 12:48 AM

Hi Eng.Basma,

1). Please focus on your previous thread, do not repost duplicate question so frequently. I will follow your question on that thread.
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/72c6dd46-0eaf-49d5-84ff-12bd35d7bd12/

2). You should set the "Permanent" to False so the application files can be removed after uninstall.

3). You can change text of the label of each TextBox in its property window. You can not modify their location in Visual Studio.

4). Take this thread for your reference.
http://www.gamedev.net/community/forums/topic.asp?topic_id=461575

5). Right click your Setup project and click the "Prerequisites" button on the popup Window. Select "Download prerequisites from the same location as my application". Then build your setup project again.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, January 29, 2009 3:29 AM

Dear Eng.Kira,

thnx for your replay.

2) your way solved my problem. i understood the description of Premanent wronge

3) i can't access the dialog buttons. they not forms buttons. when you rightClick on setupFolder -> view -> User Interface, you will find many dialogs actauuly i can change there BannerBitMap, but there is no property that allows me to access the buttons. So what did you mean ?!?

5) this way is helpfull but it increases the size of the setup file my exe file size's is 1.5 MB where the pre-requisite file size's is 34.5 MB. when i add this pre-requisite it adds a folder beside the setup.exe holds the pre-requisites and i should include it with the file which will be downloaded from the site (where my application will be uploaded to a website). So the user instead of downloading 1.5 MB he is downloading 35.5 MB. and this unwanted approach.

so is there any other way?

thnx for your help

Eng.Basma  Thursday, January 29, 2009 9:48 AM

Hi Eng.Basma

3). You cannot access these forms in Visual Studio. The controls on these dialog is designed by system. You can set the label of each control in the property window(not the way you design a winform), please look at this example.
http://www.c-sharpcorner.com/UploadFile/ddoedens/CustomUI11102005042556AM/CustomUI.aspx

5). If you don't want to deploy prerequisite along with your MSI package, you can try to upload the prerequisite to one of your local server. Then use "Download prerequisites from the following location" to point to prerequisite URL which stored on your server. If a customer install your application in the same local area network, it will be faster to download the prerequisite from your server than from Microsoft web site.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, January 30, 2009 2:07 AM
#1 is a repair and typically happens if you do something like remove files that you've installed. The same is true of registry entries, so if you're removed any of these things after the install then you'll see a repair.
Phil Wilson
PhilWilson  Saturday, January 31, 2009 12:48 AM

You can use google to search for other answers

Custom Search

More Threads

• Digitally sign msis
• Setup Project, Custom Actions Editor
• VS2008 Beta 2 ClickOnce .NET 3.0 Prerequisite
• Where is a ClickOnce app installed?
• Installation Problem.
• clickonce 2008 shortcut icon on desktop
• Shortcut error
• HELP! Mage just WILL NOT use my Certificates!
• Change Target CPU of ClickOnce Application - Error
• Change installation picture in an installation Project