473,795 Members | 2,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

launch application after installation

Hi

How using VS.NET installer
launch application after instalation?
Thanks
Konrad
Nov 22 '05 #1
1 2848
Hi Konrad,

Thanks for posting.

To achieve this, we can add the primary output of the application (the EXE
file) to the "Install" custom action. We also need to change the
"InstallerClass " property of the custom action to "false".

As a result, when the installation is finishing, the application will be
lanched. However, the Windows Installer Session will be suspended to wait
for the return of the application. This "Synchronou s execution" behavior of
the custom action is by default. If we want the Windows Installer Session
to finish without waiting, we need to change the type of the custom action
outside VS.Net:

1. Download and install the Windows Installer Platform SDK at the following
site:
http://www.microsoft.com/msdownload/...sdk/sdkupdate/

2. Install "Orca.msi" included.

3. Run Orca and open the MSI file we have generated.

4. Go to the "CustomActi on" table and locate the row with "Type" = 1042.
This shall be the custom action we have created to run the EXE.

5. Change the type from 1042 to 1234.

6. Save the MSI and quit Orca.

Please give it a try and see whether this achieves your goal or not. If you
have any concerns or new findings, please feel free to post here.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2213
by: Sue | last post by:
How do I launch an executable at the end of an installation created by Microsoft Visual Studio setup and deployment project?
0
348
by: Jeff Cooper | last post by:
Hi folks, I have a small VB app and I've created a deployment project for it. At the end of installation I would like the user to get a prompt like "Run your new program now? yes/no" -- or text/buttons to that effect. I would then like the program to launch after installation is complete. I have a few questions about this. Any help would be appreciated: 1. In the User Interface Editor, I added a RadioButtons dialog to the End
1
2577
by: Leonid Finis | last post by:
Hi, I’m trying to launch application after it was installed. I created a Windows App Deployment project. I added to “End” phase of “User Interfaces” editor a custom dialog box with “Launch the application” check box. I also added custom action to “Commit” phase. Unfortunately, custom action runs earlier that the dialog box is presented (during the commit) and not at the end of installation.
8
5377
by: Dutchy | last post by:
Dear reader, In an attempt to obtain the path to the quick-launch-folder in order to create a shortcut to my application-updates during installation , I thought to: 1- check if quick launch is used by the user 2- check if a link to my application is there 3- if so, obtain the path (ANY PATH) to the quick-launch-folder from existing button(s)
0
2928
by: TJ | last post by:
Dear Sir/Madam I just want to set something that application(was developed using C#) can be launched automatically after install is completed. I created Installer Project in Install and Deploy project, and put my application file that I want to launch in the project.However, I coudn't find any menu option that I can set something for launching the application file automatically after installation Is there any way that I can do thin one ...
13
3348
by: Ole Hanson | last post by:
Hi I am in need of a way to launch my WinForms-app (app.exe) just by pressing a keyboard combination like (Ctrl-Alt-P). This functionality should be present "out of the box" after the app (app.exe) is deployed on the Client's PC. The only way I know - is to place a shortcut on the desktop and associate a "ShortCut Key" to it by right-clicking on the shorcut on the desktop. Now - how do I, do that during installation using Windows...
4
20906
by: Joe | last post by:
I created a CustomAction for this but I don't think I have it in the right place. I tried both Install and Commit but neither allow it to get to the final screen. Are there any examples of this anywhere? Thanks, Joe
7
4668
by: dongarbage | last post by:
Hi there, I'm very new to activex controls and c# programming. I'm writing a c# application and I want it to be invoked when my users click a button on a web page. Its an application with a GUI so the app would come up and be running independent of the web browser (i.e. not embeded in it). Also note, that this application is one that is already installed
0
1853
by: klh | last post by:
Does anyone know how to prevent the First Steps Launch Pad screen from appearing after pushing out a remote installation of a Fix Pack? When DB2 PE is initially installed on our desktops it is installed so that the First Steps Launch Pad comes up after the installation, but since these are manually installed it isn't a big deal. Now we have to push out a fix pack to 400 desktops and apparently since the original installation was...
0
3016
by: Vajrala Narendra | last post by:
Hi all, TO my .net setup project i want to add a launch condition for crystal report installation. In my prerequisities i selected Crystal reports fro basic visual studio 2008 (x64, x86) in my debug folder i got those respective crystalreport10_5 folder after successful build. i got CRRedist2008_x64.msi,CRRedist2008_x86.msi i want to install CRRedist2008_x86.msi so in my Installurl i specified CRRedist2008_x86.msi's path.
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10436
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.