Last post Aug 30, 2010 10:06 AM by Gcallaghan
Aug 27, 2010 10:51 AM|Gcallaghan|LINK
I have built an installation (MSI) for a project I'm designing. I'm using Visual Studio 2008. Mostly it works fine; however, I have two issues:
1) for some reason, it insists on installing .NET 3.5, even though all the projects within the install use .NET 2.0. Is this because the installer requires 3.5? If so, I guess I can live with it.
2) I want one of the programs to run on startup, and actually, it does. I assigned the Primary Output of the program to the User's startup folder. HOwever, the install also copies the .config file to startup; so it launches it notepad, leaving the user looking
at a config file they obviously shouldn't be seeing.
Any thoughts? Thanks in advance...
Aug 30, 2010 03:16 AM|XiaoCheng Fan - MSFT|LINK
About prerequisites of setup, you can go right-click on setup project -> properties -> prereqiusites... , tick .Net Framework 2.0 and untick 3.5.
About startup programs, can you start a new thread?
I hope this can be helpful for you.
Aug 30, 2010 10:06 AM|Gcallaghan|LINK
I figured out the startup program thing. You just need to create a shortcut to the program by right clicking in the right hand pane. I didn't see it mentioned anywhere, I just started clicking.
As for the prerequisites, I've already done that. It still insists on installing 3.5. I've rebuilt it and tried it multiple times, no effect.