cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AdminStudio Repackage - Registry key

Hello,

I have some trouble to set up an Active Setup on a repackage application (exe to msi) :

I add my keys to the .msi generate after repackaging my .exe, the key are :

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\SMPAS]
"Version"="2,0"
"StubPath"=hex(2):43,00,3a,00,5c,00,54,00,65,00,6d,00,70,00,5c,00,4c,00,61,00,\
6e,00,63,00,65,00,53,00,4d,00,50,00,2e,00,63,00,6d,00,64,00,00,00


I use procmon to see if registration is ok, and ... he create the keys, but delete them ?!?

Can somebody explain me why ?

Thx, Allkor.
(2) Replies
Did you add the keys, or capture them?

For your MSI the key should better be converted to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]

The StubPath is a command line that will be executed once for every user on first logon after installation. Just check what is executed there (C:\Temp\LanceSMP.cmd) and decide if you need it.
Hi,

Thx for ur answer, but it was just a pb of registry, it's on a Seven computer and the key are put on Wow6432node.

So it works.