Click here to Skip to main content
15,909,747 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: .Net Memory Management Issue Pin
Dave Kreskowiak5-Jul-05 9:35
mveDave Kreskowiak5-Jul-05 9:35 
GeneralRe: .Net Memory Management Issue Pin
[Marc]5-Jul-05 11:10
[Marc]5-Jul-05 11:10 
GeneralRe: .Net Memory Management Issue Pin
S. Senthil Kumar6-Jul-05 6:57
S. Senthil Kumar6-Jul-05 6:57 
GeneralRe: .Net Memory Management Issue Pin
[Marc]6-Jul-05 10:15
[Marc]6-Jul-05 10:15 
GeneralRe: .Net Memory Management Issue Pin
ge_anand6-Jul-05 20:26
ge_anand6-Jul-05 20:26 
GeneralSetup Issue Pin
waffleman5-Jul-05 0:07
waffleman5-Jul-05 0:07 
GeneralRe: Setup Issue Pin
ge_anand5-Jul-05 7:57
ge_anand5-Jul-05 7:57 
GeneralRe: Setup Issue Pin
rwestgraham6-Jul-05 13:24
rwestgraham6-Jul-05 13:24 
The fact that you can even launch the setup from a VS.NET setup means that it was not created using Windows Installer, because Windows Installer does not allow a second instance of msiexec to be launched.

This precludes the option to edit the 3rd party setup with Orca.

You still have a couple of other possibilities:

1) Determine what was used to create the 3rd party install (ex. Wise, Installshield, etc) and see if the 3rd party setup supports execution with a commandline switch that suppresses the reboot option. Many setups support this feature, but not all. If your setup supports a switch to suppress the reboot, you simply modify your custom action commandline.

This option presents a certain problem however. A lot of setups are authored to automatically offer a reboot option, even though a reboot may not be required for the software to run. In other cases, a reboot may be required only on certain OS versions or only if certain files were in use. It is pretty much impossible to know (or test under all possible scenarios) if the reboot is actually required or if it was merely authored into the package.

So basically you are left iun a situation where the only assumption you can make is that the reboot is required, but you have now suppressed this option, and the user may try to use the software and think the setup failed. So you should probably author your MSI to force a reboot to be safe. This is not something you can do in the VS IDE so you will have to download Orca and the Windows Installer SDK and figure out how to modify your VS.NET setup to force a reboot at the end.

This is not a trivial task, unfortunately.

2) A second option, which in my opinion is probably easier, but requires you to be able to at least manage some level of C++ programming, is to modify the bootstrapper EXE.

VS.NET includes a standard bootstrapper called setup.exe. This is a program that usually first checks to see if the Net framework is installed. If so it launches your msi and terminates. If not, it first runs the dotnetfx.exe to install the Net Farmework, then launches your msi and terminates.

You can download the bootstrapper exe source code from the MSDN site, and modify it to do anything you want.

In this case you would want to modify the bootstrapper to launch your msi, but NOT terminate, wait for a successful return code from the msi install, and then launch your 3rd party install and terminate. This will result in your 3rd party install being the last operation required in your setup sequence, and you can allow the user to reboot because all other setups will have already completed.

I suggest you try the second option if you can manage the C++ code. It's not particularly difficult, if you have at least some very basic experience with C++, or even just a good reference text.

Robert
QuestionCOM InterOp with Delegate(Event) support? Pin
Huisheng Chen4-Jul-05 22:51
Huisheng Chen4-Jul-05 22:51 
General[ Active Directory ] Retrieve Terminal Services User Profile Path Pin
Jaymz6664-Jul-05 5:21
Jaymz6664-Jul-05 5:21 
GeneralGood Book for .NET and C# Pin
ameysp4-Jul-05 1:12
ameysp4-Jul-05 1:12 
GeneralRe: Good Book for .NET and C# Pin
MoustafaS4-Jul-05 8:42
MoustafaS4-Jul-05 8:42 
GeneralRe: Good Book for .NET and C# Pin
Mike Dimmick4-Jul-05 11:22
Mike Dimmick4-Jul-05 11:22 
GeneralRe: Good Book for .NET and C# Pin
Christian Graus4-Jul-05 13:22
protectorChristian Graus4-Jul-05 13:22 
GeneralRe: Good Book for .NET and C# Pin
MKlucher4-Jul-05 15:18
MKlucher4-Jul-05 15:18 
GeneralRe: Good Book for .NET and C# Pin
ameysp4-Jul-05 18:55
ameysp4-Jul-05 18:55 
GeneralRe: Good Book for .NET and C# Pin
Kevin McFarlane6-Jul-05 9:50
Kevin McFarlane6-Jul-05 9:50 
GeneralRe: Good Book for .NET and C# Pin
dwatkins@dirq.net18-Jul-05 3:56
dwatkins@dirq.net18-Jul-05 3:56 
GeneralRe: Good Book for .NET and C# Pin
Kevin McFarlane18-Jul-05 7:10
Kevin McFarlane18-Jul-05 7:10 
GeneralShare Point Services Pin
vij20053-Jul-05 18:18
vij20053-Jul-05 18:18 
GeneralMono and Unix shell commands Pin
sebasalvo3-Jul-05 16:52
sebasalvo3-Jul-05 16:52 
GeneralRe: Mono and Unix shell commands Pin
S. Senthil Kumar3-Jul-05 19:42
S. Senthil Kumar3-Jul-05 19:42 
GeneralListView / ImageList SmallIcons failing to load properly Pin
CoderCat2-Jul-05 14:47
CoderCat2-Jul-05 14:47 
GeneralRe: ListView / ImageList SmallIcons failing to load properly Pin
CoderCat5-Jul-05 7:24
CoderCat5-Jul-05 7:24 
General.NET remoting Pin
Jefy Dominic2-Jul-05 6:17
Jefy Dominic2-Jul-05 6:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.