sujan17
asked on
Creating a shortcut and passing arguments to another file.
Hi Guys,
I want to create a MSI project with an executable. MSI should do the following
1. Create a shortcut on the desktop and the target should be able to pass a argument to a different executable.
Is this possible?
The target should look like below.
C:\work\DDS\bin\Debug\DDS. exe XTR
I need to pass XTR and try to run that executable.
Please help me.
Thanks
MS
I want to create a MSI project with an executable. MSI should do the following
1. Create a shortcut on the desktop and the target should be able to pass a argument to a different executable.
Is this possible?
The target should look like below.
C:\work\DDS\bin\Debug\DDS.
I need to pass XTR and try to run that executable.
Please help me.
Thanks
MS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ramana_forums, sorry, but the right way is to open your own question.
ASKER
I have created a console application that creates a shorcut to a desktop. I have created MSI and while I am trying to run the MSI it creates a .exe file in c drive. and If I click the .exe then it creates the shortcut. but I doesn't want user to click the .exe and the create a shortcut.
Could you please help me.
I
Could you please help me.
I
change your application so it does not create the shortcut, and instead create the shortcut my MSI.
ASKER
Objective of my project is to create a shortcut in the programs menu and when the user clicks it should redirect to DDS.exe with a variable. For this I have a developed an application ()both console and windows forms which creates a shortcut with that parameter. Now I want to create a MSI for this project when this MSI runs I want to see shortcut created in programs menu.
Could you please help me.
Could you please help me.
Is this possible?
I want to know can we run .bat files from setup wizard?