PDA

View Full Version : Map Drive / User Account Settings Problem



kalpesh_vpatel
09-26-2012, 09:22 PM
Hi,

I have a problem with Installshield 2012 Spring.

We have several installers created by Installshield 2011 which we now upgraded to Installshield 2012 Spring.

In our installer, we have directory combo box which is displaying all local drives and mapped drives. But it doesn’t seem to be working in Installshield 2012 spring.

When I run an installer with Installshield 2011, it displays all mapped drives in list. When I run the same installer after upgrading solution to Installshield 2012 spring, it doesn’t display mapped drives.

So I looked around on internet and found that there are problems related to UAC (User access Control Setting in Windows 7).

As per one person’s advice,
If I turn off UAC, then it displays all mapped drives in installer which is created with 2012 spring. But if I turn on UAC ( Reboot PC after turn on UAC ), I cannot see mapped drives. Switching UAC off is not an option for our customers.

Is this a bug in InstallShield 2012 Spring?

I give you more details about my system.
Window 7
Installshield 2012 spring
SetUp.exe ( set Required execution level as Administrator. It is not working with any other settings such as Invoker, Highest Available )
Basic MSI Project

DebbieL
09-27-2012, 08:28 AM
This is not a bug in InstallShield. This is related to UAC behavior on Windows Vista and later systems. It's described in the following blog post:
Mapped Network Drives with UAC on Windows Vista (http://blogs.msdn.com/b/cjacks/archive/2007/02/19/mapped-network-drives-with-uac-on-windows-vista.aspx)

Is it possible for you to use UNC paths instead of mapped drives?

kalpesh_vpatel
10-23-2012, 07:37 PM
Hi DebbieL,
Thanks for your reply.

I have tested your solutions on windows 7.

Steps :
1. Created new EnableLinkedConnections with DWORD value 1 in HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System.
2. Restart my PC.
3. Disconnected all mapped drives and re connect those again.
4. Restart my PC.
5. Run installer.

It doesn't display mapped drives.
Can you please tell me did I miss any thing?

Regards,

Kalpesh

DebbieL
10-24-2012, 08:27 AM
To map the drive, you need to start an administrative command prompt and map the drives there using "net use M: \\server\path"