Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Change normal behavior of MSI

Posted on 2011-03-06
2
329 Views
Last Modified: 2012-05-11
I want to change normal behavior of MSI like
1. Stop MSI from auto repair when we delete any file
2. Shortcut icon generated trough MSI (user should be able to change the default icon of shortcut and pass the command line parameters to exe file)
0
Comment
Question by:milindbansode
  • 2
2 Comments
 
LVL 38

Accepted Solution

by:
BillDL earned 500 total points
ID: 35073214
Hi milinbansode

You asked:
"Shortcut icon generated trough MSI - user should be able to change the default icon of shortcut and pass the command line parameters to exe file.

This is possible even if you don't have the full Windows Installer developer tools used to create setup packages.  You need the program named ORCA.EXE that comes with the Windows Installer SDK tools.

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en

http://msdn.microsoft.com/en-us/library/aa370557(v=vs.85).aspx

It has a simple user interface that allows you to modify the database tables in the MSI file.  You have to learn the syntax used in the functions and actions.  In particuler I believe you would need to look here:

http://msdn.microsoft.com/en-us/library/aa368054(v=VS.85).aspx
0
 
LVL 38

Expert Comment

by:BillDL
ID: 35838097
Thank you milindbansode
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question