Note that there are some explanatory texts on larger screens.

plurals
  1. PO.NET (C# ) Install Project. Including other packages problem
    text
    copied!<p>folks. I've created a setup project in VS2008 which installs fine by itself. However projects being installed by this installer depend on components (mainly speaking ESRI) which must also be installed on target machines. There is a separate installer for ESRI that we have and it consists of msi srcipt as well as 6 folders with subfolders in those which are user by this msi. I can't seem to figure out how to include that into my setup project, so that target users just run one full package. I tried the following which <em>almost</em> works: 1.Created one more class library project in the solution 2.Added installer class to it 3.Overrode Install method and wrote </p> <pre><code>string path=Assembly.GetExecutingAssembly().Location; Process.Start(Path.Combine(path, "esriinstaller.msi")); </code></pre> <p>4.Added msi file to output folder's pane in installer project This does not quite work b/c: a)path doesn't point to directory where the installer was launched (in fact I tried various combinations of Assembly.Get...().BasePath methods - these yield either Windows\System32 or target folder) b)I also have to manually copy all ESRI folders into installer's package dir (...bin\Release) </p> <p>So, is there a literate way to add that package to my installer? (I configured .NET dependencies in Detected Dependencies properties dialog box to install those from full dotnetfix included in the package and it worked fine, and I thought may be I could somehow force installer to "think" that ESRI is also dependendent on project, but with no results yet). Any suggestions?</p> <p>Now, we also need to automate some installer packages (like SqlServer2008) to minimize user interraction. In fact, we would like to supress some dialogs from installer (do not offer to use SoftIce - we are not hackers, unfortunetly). A friend of mine has pointed to some AutoIt project. Is that it?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload