InstallShield profile specific install

Posted on 2006-03-31
Last Modified: 2010-08-05
Hello all,

I'm putting together an installshield package and want it to install so that all users will be able to use the application.  The issue I'm running into right now is, if i login as admin on the box and do the install, only someone who logs in as admin can see the shortcuts and the registry settings... the app doesn't even see the registry settings.  Anyone know how to address this?  I don't see any settings in InstallShield that address profiles, but this does seem to be profile specific.  This is a VB app installing on XP pro OS boxes.  
Question by:xrvman
    LVL 3

    Accepted Solution

    Shortcuts for all users are in c:\documents and settings\All users.  Regardless of the profile, shortcuts placed here are applicable to all users.

    Suppose you want Executives and sales and guests and accounting to have different access to your network.  You probably already have a group based network drive mapping scheme (batch file or .vbs).

    Case Sales
      if not exist "shortcut" create shortcut"
    Case Executive
      if not exist "shortcut" create shortcut"
    Case accounting
     if not exist shortcut create shortcut

    Here's a sample script for mapping drives based on group membership

    On Error Resume Next

    Set objSysInfo = CreateObject("ADSystemInfo")
    Set objNetwork = CreateObject("Wscript.Network")

    strUserPath = "LDAP://" & objSysInfo.UserName
    Set objUser = GetObject(strUserPath)

    For Each strGroup in objUser.MemberOf
        strGroupPath = "LDAP://" & strGroup
        Set objGroup = GetObject(strGroupPath)
        strGroupName = objGroup.CN

        Select Case strGroupName
            Case "Finance Users"
                objNetwork.MapNetworkDrive "X:", "\\atl-fs-01\finance"
            Case "Human Resource Users"
                objNetwork.MapNetworkDrive "X:", "\\atl-fs-01\hr"

            Case "Manufacturing Users"
                objNetwork.MapNetworkDrive "X:", "\\atl-fs-01\manufacturing"

            Case "Shipping and Receiving Users"
                objNetwork.MapNetworkDrive "X:", "\\atl-fs-01\shipping"
        End Select

    and here is some code to create a shortcut
       Set oWS = WScript.CreateObject("WScript.Shell")
       sLinkFile = "C:\MyShortcut.LNK"
       Set oLink = oWS.CreateShortcut(sLinkFile)
       oLink.TargetPath = "C:\Program Files\MyApp\MyProgram.EXE"
       '      oLink.Arguments = ""
       '      oLink.Description = "MyProgram"
       '      oLink.HotKey = "ALT+CTRL+F"
       '      oLink.IconLocation = "C:\Program Files\MyApp\MyProgram.EXE, 2"
       '      oLink.WindowStyle = "1"
       '      oLink.WorkingDirectory = "C:\Program Files\MyApp"
    LVL 7

    Expert Comment

    Use this most popular Packaging  Tool from Nullsoft.

    Download :-
    Info          :-

    It extremely support Scripting & It's OPEN SOURCE. Enjoy

    Author Comment

    Thanks for the info... That was more than I was looking for, but that's ok.  Turns out the issue stemmed from my using a basic MSI project instead of the Installsheild MSI, which by default allows visibliity to all users after being installed by the network admin.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
    I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now