hello,

I would like to know the method which makes it possible to change the way of the source of the package?
Because if I install a package of C:\packagedirectory\package.msi, I would wish that the calls to the source be done on a share network.
That can arrive when part of the application settles in the profile running and that one changes user and thus profile.

I find INSTALLSOURCE in registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{xxxx-xxxxxxx-xxxxx}\InstallSource = C:\packagedirectory\

If I change the value of this key by \\server\share\packagedirectory\ the application continuous to seek the source on C:\packagedirectory\…

Thank you for your assistance.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
HKey Classes Root\Installer\Products\[ProductCode]\SourceList
Regards,
Al
Answered 01/31/2007 by: AB
Purple Belt

Please log in to comment
0
Add the property SOURCELIST to the Property table and add the path where you want it to search for.
If you have more than one sources use ; to separate them.

Hope this helps

Cheers

Roland
Answered 01/31/2007 by: rpfenninger
Second Degree Green Belt

Please log in to comment
0
Thank you for your answer,

But, i set SOURCELIST=\\serveur\share\packagedirectory\ in Property and it's doesn't work.. i look at registry, the package dont create the string "HKey Classes Root\Installer\Products\[ProductCode]\SourceList=\\server\share\packagedirectory\"

I create the string "HKey Classes Root\Installer\Products\[ProductCode]\SourceList=\\server\share\packagedirectory\" it's still doesn't work.
Answered 02/01/2007 by: keihilin
Orange Senior Belt

Please log in to comment
0
The registry should look something like (bellow) when the SOURCELIST has been uppdated

SourceList\LastUsedSource (REG_EXPAND_SZ) = n;1;\\server\share\packagedirectory\
SourceList\Net\1 (REG_EXPAND_SZ) = \\server\share\packagedirectory\
Answered 02/01/2007 by: AngelD
Red Belt

Please log in to comment
0
I've this:

HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\LastUsedSource (REG_EXPAND_SZ) = n;1;C:\Package\

HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Media\1 (REG_SZ)= DISK1;1
HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Media\DiskPrompt (REG_SZ) = [1]

HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Net\1 (REG_EXPAND_SZ) = C:\Package\
HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Net\2 [REG_EXPAND_SZ) = \\server\packages$\_DEV\package

When i delete the package from C:\Package\package.msi, reboot and logon with other user profil. the messagebox ask me to find source and propose :
1) C:\package
2) \\server\packages$\_DEV\package

If i select answer 2, it's doesn't work...
Answered 02/01/2007 by: keihilin
Orange Senior Belt

Please log in to comment
0
if you are using windows installer 3.0 or later you also have the option of using the windows installer api to change the sourcelist after deployment.

have a look at WindowsInstaller.Installer in the sdk.

example follows.

set objInstaller = CreateObject("WindowsInstaller.Installer")
objInstaller.ClearSourceList "{ProductCode for app}"
objInstaller.AddSource "{ProductCode for app},"", "New source location as UNC"
Answered 02/04/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
Hello,

It's all right, i try on physical computer (before i only try on VMWARE) and it's working ;o) with SOURCELIST property.

Jmcfadyen, for your solution i must use a CUSTOM ACTION ?

Thank you all ;o)
Answered 02/05/2007 by: keihilin
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity